1 registered members (TipmyPip),
18,618
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Shaders hide my models
#97076
11/02/06 10:18
11/02/06 10:18
|
Joined: Oct 2006
Posts: 23
Kresimir
OP
Newbie
|
OP
Newbie
Joined: Oct 2006
Posts: 23
|
Hi!
I have a problem with using shaders. I made a material like this: material some_material { effect = "softStencilShadow.fx"; }
Which ever shader i downloaded off the internet and used here, i get the same result, and the result is that my models get invisible. I made a test level which consists of a cube, my model placed on the cube, sun turned on, "shadow" flag turned on the model, and "some_material" applied to the model. If i apply the material, my model gets invisible, but it's shadow (from the engine's sun) is still visible. If i turn off the shadow flag, and leave the material applied, my model will still be invisible, but no shadow will be under it. If i comment the "effect" line in my material, my model will become visible again.
I downloaded shaders off of nVidia SDK page...i tried simple shader examples i found on the net...and nothing works.
Has anyone had a similar problem?
The graphic card i'm using is an "nVidia GeForce 7600 GS", i have 1GB of RAM, my simplest model is just a cube (i used a fox and cbabe too...).
Thanks for your time!
|
|
|
Re: Shaders hide my models
[Re: Roel]
#97080
11/04/06 01:27
11/04/06 01:27
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
Serious User
|
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
Quote:
effect = "softStencilShadow.fx";
Quote:
I read this forum (i believe carefuly) but i didn't find anything really useful about shadows. Can you please point out to me a few useful topics here about shadows? Thanks!
do you look for soft shadows? there is the shader from Matt Aufderheide. if i remember correctly, George Pirvu posted it in AUM. and don't forget to look at Sphere plugin (Matt's too).
|
|
|
|