#Lights with directional bias

1 messages · Page 1 of 1 (latest)

graceful igloo
#

Quite new to shaders in Unity. Is it possible to have a light that shines more in the x directions than the z directions? I then want to spin this light around for an alarm like light. Kind of like the flares in Deep Rock Galactic.

mellow plinth
#

Cookies for point lights?

graceful igloo
#

I used spotlights and a fill light for ambience. But the solution feels a bit unperformant, since it involves three lights being calculated per pixel. But its probably fine for now

graceful igloo
#

cookies? what do you mean?

graceful igloo
#

Oh wow thats actually what im looking for thanks!

mellow plinth
# graceful igloo Oh wow thats actually what im looking for thanks!

Note that as point lights are omnidirectional, the cookie texture should be a cubemap
In a pinch you can use a square texture as a cubemap in mirrorball mapping mode
But ideally you'd use a tool to paint or render cubemap textures
If you don't have one, you can render out cubemap textures using Camera.RenderToCubemap
That way you can use everything you have access to in a scene to design the cookie