Hi,
Tought id start a "Wish List" thread for everyone to post things they would like to see the sunburn engine do in future releases. And maybe we will find out if Sunburn already does some and we dont relaise it yet! :)
To start off, mine are :
Being able to set Alpha on materials. To create semi-transparent materials, such as plain glass. Obviously, to create more relaistic glass materials where light warps, we would have to use our own custom effects.
Having a bool flags on materials and/or models called "ReceviesShadows" and "CastShadows". To allow some objects to actually receive shadows (have shadows appear on there surface cast from another object) or not. Also allows a pre-material flag for if the material will cast a shadow, wether it receives a shadow or not. This could also be expanded somehow to be able to specify which lights they can interact with (although this might prove very difficult technicly)
Hi Carl,
We're working on an example that shows how to render transparent objects, which should be available shortly after SunBurn 1.2 hits Release Candidate.
You can disable shadow casting on models when submitting them to the render manager. The submit method contains a boolean argument that determines if the object should cast shadows.
Let me know if this helps!
Follow me on Twitter – development and personal tweetsAwesome XNA Videos – Lighting, Rendering, and game videos
I forgot to mention the render manager submit method also has overloads that allow you to submit model meshes and model mesh parts individually, so you can control shadow casting on every level of the model.