Welcome, Guest.
Username: Password: Remember me

TOPIC: Simple Light Leak Shader

Simple Light Leak Shader 3 months 1 week ago #1

This is my first shader, so go easy. I'm no pro. What this shader is doing is emulating the effect of light leaks from a cheap camera/lens. It uses 6 textures which are then rotated and flipped to give 12 total variations.

You can adjust the width of the beam, the hue, and the overall intensity/transparency of the effect.

The textures are not the best quality, but I was trying to keep the file size small. If requested I can make some higher quality textures.







Shader with textures: Mediafire link


Shader code:
Warning: Spoiler! [ Click to expand ]
Last Edit: 3 months 1 week ago by TreyM.
The administrator has disabled public write access.

Simple Light Leak Shader 2 months 4 weeks ago #2

looks good, though it's a bit to static I think, if it reacted to brightness it would be great.
The administrator has disabled public write access.

Simple Light Leak Shader 2 months 4 weeks ago #3

It's not meant for gameplay. It's meant for static screenshots. In the real world, light leaks are not static images, so this is not designed to work for moving imagery.
The administrator has disabled public write access.