Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,306 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem converting shader #58905
11/13/05 09:45
11/13/05 09:45
Joined: Nov 2005
Posts: 62
Seriff Offline OP
Junior Member
Seriff  Offline OP
Junior Member

Joined: Nov 2005
Posts: 62
Hi, i'm trying to put a Fur shader in my animation, but 3dgs gives me an error in this lines:

const half4x4 matWorldViewProj; ------ keyword unknown 'const'
const half4x4 matWorld; ------ keyword unknown 'const'
const half4x4 matWorldIT; ------ keyword unknown 'const'

And with the rest of the lines of the script :S
This is a HLSL script, so why this errors?

Re: Problem converting shader [Re: Seriff] #58906
11/13/05 09:52
11/13/05 09:52
Joined: Dec 2003
Posts: 401
Germany, Bonn
VampireLord Offline
Senior Member
VampireLord  Offline
Senior Member

Joined: Dec 2003
Posts: 401
Germany, Bonn
as far as I know GS HLSL doesn't support the const variable type, you might want to try

float4x4 matWorldViewProj;


"Feathers shall raise men even as they do birds, toward heaven; that is by letter written with their quills." - Leonardo da Vinci

Wer mir eine e-mail schicken will ersetze ANTISPAM durch @
If you want to send me an email replace ANTISPAM by @
Re: Problem converting shader [Re: VampireLord] #58907
11/13/05 10:00
11/13/05 10:00
Joined: Nov 2005
Posts: 62
Seriff Offline OP
Junior Member
Seriff  Offline OP
Junior Member

Joined: Nov 2005
Posts: 62
Its doesnt work yet... GS now send me another error messages in another lines :S
but thnks for the hint

Is there a site where i can download some shader specially made for GS so i cant see how they'r made?

Re: Problem converting shader [Re: Seriff] #58908
11/13/05 10:05
11/13/05 10:05
Joined: Dec 2003
Posts: 401
Germany, Bonn
VampireLord Offline
Senior Member
VampireLord  Offline
Senior Member

Joined: Dec 2003
Posts: 401
Germany, Bonn


"Feathers shall raise men even as they do birds, toward heaven; that is by letter written with their quills." - Leonardo da Vinci

Wer mir eine e-mail schicken will ersetze ANTISPAM durch @
If you want to send me an email replace ANTISPAM by @
Re: Problem converting shader [Re: VampireLord] #58909
11/13/05 10:12
11/13/05 10:12
Joined: Nov 2005
Posts: 62
Seriff Offline OP
Junior Member
Seriff  Offline OP
Junior Member

Joined: Nov 2005
Posts: 62
Thanks a lot


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1