05-06-2024, 07:45 AM
(This post was last modified: 05-06-2024, 07:47 AM by josemendez.)
(05-06-2024, 12:38 AM)seenotevil92 Wrote: Good afternoon.
I'm developing a 2D game.
I'm using 2D urp pipeline with obi fluid 7.
How can I get 2D light to work with obi (freedom etc)?
I tried adding a lit-sprite-shader but it didn't work.
Hi,
URP 2D lighting is not supported. The reason is that 2D lighting/shadows uses a completely different rendering system compared to regular lighting. See:
http://obi.virtualmethodstudio.com/faq.html
Quote:Does it support SRPs (Scriptable Render Pipelines)?
Cloth, Rope and Softbodies support all SRPs out of the box, since they do not perform any custom rendering. Obi Fluid does include a custom rendering pipeline based on screen-space ellipsoid splatting, that currently supports the built-in pipeline and URP (no HDRP support yet, no URP 2D lighting system support).
kind regards,