Problem converting shader

Posted By: Seriff

Problem converting shader - 11/13/05 09:45

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?
Posted By: VampireLord

Re: Problem converting shader - 11/13/05 09:52

as far as I know GS HLSL doesn't support the const variable type, you might want to try

float4x4 matWorldViewProj;
Posted By: Seriff

Re: Problem converting shader - 11/13/05 10:00

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?
Posted By: VampireLord

Re: Problem converting shader - 11/13/05 10:05

http://www.coniserver.net/wiki/index.php
Posted By: Seriff

Re: Problem converting shader - 11/13/05 10:12

Thanks a lot
© 2024 lite-C Forums