Horde3D
http://horde3d.org/forums/

Make shadow mapping a flag in shaders
http://horde3d.org/forums/viewtopic.php?f=8&t=1006
Page 1 of 1

Author:  jimbo [ 10.11.2009, 09:58 ]
Post subject:  Make shadow mapping a flag in shaders

To disable shadow mapping now it's needed to create a new shader, it would be nice if it's a flag for the model.shader.
So large terrain objects that don't want shadow mapping can use the model.shader.

Author:  marciano [ 12.11.2009, 01:06 ]
Post subject:  Re: Make shadow mapping a flag in shaders

Disabling shadows for specific objects is certainly useful. What you propose is one option. Another way would be a scene node flag which - when set - will completely skip an object when shadow maps are generated.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/