Projector on Unlit Shaders?

Hey all :slight_smile:

I’m using unlit shaders on all my objects to save on render time in a “2D” game, but I’d love to do some faux lighting effects. Does anyone know a good way to use projectors on Unlit Shaders? Other methods are welcome, and I’m totally willing to code, but using diffuse/spec/related are not an option for me.

Thanks!

Forgot to mention that I’m using the Unlit+Transparent-Cutout shader.

Projectors can also be relatively expensive depending on the number and how many meshes each one affects. If this is a 2D game why not experiment with simple textured planes using an additive shader to simulate lighting effects? You could have a single texture sheet with dozens of lighting types on it. Combine that with creative UVing and vertex coloring and you could possibly get all your lighting effects into a single draw call.

Unlit Shaders normally ignore lights. Although you can always look in the Mobile Shader section - they take up 1 draw call for most of em. So I would try that. You should experiment but I have Heard using a projector is very expensive anyway so you might as well use something else :).

Enlightening. Thanks guys :slight_smile:

I thought projectors were cheap, but I was wrong I guess. Any shaders you guys would recommend?