Page 1 of 1

Caustics Shader

Posted: Sat Jul 27, 2019 7:10 pm
by Emral
3D World style.
CAVEAT: THIS REQUIRES THERE TO BE NO SHARED COLOURS BETWEEN THE MASKED FOREGROUND AREA AND ANYTHING BEHIND IT.

A download link can be found here:
https://drive.google.com/file/d/1Bp8Mo6 ... sp=sharing

Demo:
https://www.youtube.com/watch?v=3yZSJNPa7u8
1:40

To use this library, load the sh_caustics.lua file in your luna.lua file. Make sure the other files are also in an accessible directory.

Modifications and adaptations of the code is permitted. If you use this particular code as a basis for an enhanced version of these NPCs, please give credit.

Customizable stuff:
sh_silhouette.speed: Speed of the texture.
sh_silhouette.lowpriority: Highest priority of background area.
sh_silhouette.priority: Highest priority of masked area (goes until lowpriority).

Re: Caustics Shader

Posted: Fri Jan 03, 2020 3:03 pm
by The Toad Master BUP
Awsome!Definetly gonna use it!