Fake Tube Light Shader


Tried to test idea about tube lights (or “line light”), by using custom lighting in shader,
you could sample the light several times from different positions/angles,
so that it looks like the light is not just a single point. (not really working here properly yet, but kind of gives the effect, so it might be possible)

Source: *Light direction is animated in shader to show the effect

If you want real Area Lights, check:
– UnityLabs : https://labs.unity.com/article/real-time-polygonal-light-shading-linearly-transformed-cosines
– Lux : http://forum.unity3d.com/threads/lux-an-open-source-physically-based-shading-framework.235027/page-23#post-2618971

Leave a comment


Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.