Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Loosing Shadow....
#3
(26-02-2019, 08:54 PM)josemendez Wrote: Fluids only support shadowing from directional lights. There should be a ShadowmapExposer component on each light you want to support, and you should provide a reference to the ObiParticleRenderer there. So if you simply duplicate a renderer and do not add it to the exposer, it will have no shadows.

Note that fluid rendering is done using screen-space ellipsoid splatting (state of the art for realtime fluid rendering), so it has its own lightning pipeline, done outside of Unity's built-in one. That's why this process is required to get shadows working on it: the exposer component "taps" into Unity's pipeline, grabs the shadow map and makes it available to Obi's fluid rendering pipeline.


Ahhhh ..... I'm sorry, that's the little thing I missed! I may had read the doc too quickly ... Thank you very much Jose for your quick response, and thank you for this plug-in devilishly effective! Good continuation and see you soon !
Reply


Messages In This Thread
Loosing Shadow.... - by gabibouty - 26-02-2019, 04:13 PM
RE: Loosing Shadow.... - by josemendez - 26-02-2019, 08:54 PM
RE: Loosing Shadow.... - by gabibouty - 27-02-2019, 05:59 AM