Shader Shadow Suport,Please Help ME.

at2142

22-11-2008 18:15:34

hi,
i will Car Paint Material(HLSL Shader) Assign to Game,But this shader not suport receive
shadow (texture Aditive).
PLease help me.
Thanks.

at2142

22-11-2008 18:20:41

hi,
i will Car Paint Material(HLSL Shader) Assign to Game,But this shader not suport receive
shadow (texture Aditive).
if use shader and shadow ,i have Problem in depth witing
PLease help me.
Thanks.

Evak

22-11-2008 19:01:11

Using additive shadows with shaders takes some extra work because you need seperate passes for it to work properly. It's quite different to fixed function materials that don't need any special requirements.

I still havent quite figured out how to get additive to work 100% so I always use modulative. I've been told that for additive shadows to work correctly you need a multipass shader material with an ambient first pass, a lighting second pass(per pixel, normal, specular maps, and your actual colour texture (diffuse) 3rd pass.

at2142

23-11-2008 12:33:19

Thanks for help.