Agh, it doesn't work for me <img src="/ubbthreads/images/graemlins/frown.gif" alt="" />.
I'm running gamestudio pro a7.
When I try to run my game it says:
Error in 'MAIN' line 13: 'var' undeclared identifier
< var s_rtScale = 256; //render-target size>
<include ^s_shadeC.c>;>
MAIN.WDL 1:2 (): Script error s_shadeC.c
All I did was include the s_shadec.c file and call s_initshaders
First of all ...this error is a bit stupid^^
just type #inlcude "s_shadeC.c" instead of <...>
now ...I have a problem tooI created a new little lvl....with a ground plate, 2 buildings and sun and used it as lite-c script...then i included the s_shadeC.c in my script and used the main() example 1 from the shade-c manual and the only effect i get is...every object is dark...
now i tried the second example with all the finetuning for the HDR and i changed NOTHING....and the following error occures after compiling in the game:
-----------------------------------------------------------
Malfunction W1550
Error in effect:
s_mtl_ppe1(1):error X3000:syntax error:unexpected end of file
>_showRT<
-----------------------------------------------------------
can sb help me ? >.<
i don't know what to do ^^