Hey, I’m working on my game with custom lightning and I was wondering is it possible to make shadows with different transparencies based on shadow caster transparency? Like some object with glass material will give semi transparent shadow and opaque object will give opaque shadow. Do I have to write my own shadow system for that or is it possible to do with built in Unity tools?
The only ways I know of to do this are to use dithering, a custom stencil-based shadow renderer (maybe?), an old-fashioned projected geometry shadow rendering system, or ray tracing.
Long-story-short: There’s no built-in way to do that. The least amount of work would likely to create your own shadow shader using dithering.
1 Like
i wanted coloured shadows in my own project, so i wrote an entire lightmapper just to have them. it’s gonna take some work.
1 Like