is IVolumeLightSceneNode = LightScattering?
is IVolumeLightSceneNode = LightScattering?
I have seen and tested the SpecialFX example, but can hardly notice the effect. There is also little documentation or mention of this feature on this forum and the online docs. So I am just curious if this is VERY similar to the GodRay shaders/effects out there or light scattering.
Re: is IVolumeLightSceneNode = LightScattering?
No, there is no shader there that integrates the scattering along the light path inside the volume, esp not while taking shadows or occlusion into account.
Its more of a 2000s effect for a billboard-like static effect like here
Its more of a 2000s effect for a billboard-like static effect like here
Re: is IVolumeLightSceneNode = LightScattering?
I see. thanks for the detail devsh, that really helped. will probably test it and see if it can be useful or just go with shaders.
Re: is IVolumeLightSceneNode = LightScattering?
Its a horribly expensive shader to make, usually you have to do it at 1/4 resolution, take interleaved samples, blur and do depth-sensitive bilateral up-scale.
Re: is IVolumeLightSceneNode = LightScattering?
As with any other "eye candy" shader there's always a cost in performance. and not really a critical shader to have, but would be a nice addition.devsh wrote:Its a horribly expensive shader to make, usually you have to do it at 1/4 resolution, take interleaved samples, blur and do depth-sensitive bilateral up-scale.
Re: is IVolumeLightSceneNode = LightScattering?
You can use a shadowmapping approach, where the polygons in the "volume light" are used to sample the depth. Makes for a decent approach.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Re: is IVolumeLightSceneNode = LightScattering?
That wont work:
1. Thats incredible overdraw for the additive blend method.
2. Else you'd need Order Independent Transparency for that one.
1. Thats incredible overdraw for the additive blend method.
2. Else you'd need Order Independent Transparency for that one.