Problems with Shading

Posted By: Jack2010

Problems with Shading - 05/23/10 13:44

Hi! In my game, a level is based in space orbiting a planet like so:



As you can see, the shadows on the planet are blocky... is there a way to make them smoother without increasing the number of faces on the model?

Thanks!

P.S. Im using the free version of the engine.
Posted By: wdlmaster

Re: Problems with Shading - 05/23/10 16:31

It's possible, but not with the free version! This requires per pixel lighting (a shader). Maybe you can play around with the d3d_pointlightfalloff / d3d_spotlightfalloff variables to smooth the shadows a little. But the "blockyness" remains...
Posted By: Jack2010

Re: Problems with Shading - 05/23/10 21:50

Dang frown. I guess I'll see if I can get it working some other way.

BTW, I (think) I have persuaded a friend of mine to purchase the pro team edition, if he gets it are there any tutorials on how to use the per pixel lighting shader?

Thanks!
Posted By: wdlmaster

Re: Problems with Shading - 05/23/10 22:00

you could look here http://www.opserver.de/wiki/index.php/Shaders
Posted By: Jack2010

Re: Problems with Shading - 05/23/10 22:04

Thanks! I better start reading up laugh
Posted By: IvanOFF

Re: Problems with Shading - 05/27/10 00:32

Th! Im using the free version of the engine.
© 2023 lite-C Forums