DaveC
24-12-2007 23:27:46
This paged geometry addon's grass looks lovely, except when I enable the scenemanager's shadowing with...
mpRoot = Ogre's root object.
or any other shadowing technique.
What I want to know is, how to disable shadowing for the grass billboards rendered by the pagedgeometry addon.
I've tried editing the demo "grass.material" file and adding...
(off or false for the param)
Yet still, the grass geometry looks like it's having the shadowmap projected upon it.
Here's a screenshot of the problem I'm having...
PS. Thanks for working upon this addon and I appologise if I've placed this post in the wrong forum section, as I've only been using Ogre for a week and this may be Ogre related, as there's probably a simple solution, yet I felt to post in this addon's section as it is related.
mpRoot = Ogre's root object.
mpRoot->getSceneManager("GENERIC")->setShadowTechnique(SHADOWTYPE_TEXTURE_MODULATIVE);
or any other shadowing technique.
What I want to know is, how to disable shadowing for the grass billboards rendered by the pagedgeometry addon.
I've tried editing the demo "grass.material" file and adding...
receive_shadows off
transparency_casts_shadows off
(off or false for the param)
Yet still, the grass geometry looks like it's having the shadowmap projected upon it.
Here's a screenshot of the problem I'm having...
PS. Thanks for working upon this addon and I appologise if I've placed this post in the wrong forum section, as I've only been using Ogre for a week and this may be Ogre related, as there's probably a simple solution, yet I felt to post in this addon's section as it is related.