Modding > Spelunky 2 > Liquid shader example


Makes water red, eggjuice blue and lava green with a pink glow
By:
Dregu
Downloads:
88
Mod Type:
Specific Asset
Install Code:
liquid-shader-example
Added:
3 years, 9 months ago
Last Update:
3 years, 8 months ago
Average Rating:

Details


Note: To use this mods as is, you need to use Playlunky v0.4.0+ with sparse shader modding support. For modlunky2, find and replace the matching function in shaders.hlsl I guess.

This is just an example of how to change liquid colors via shaders_mod.hlsl. The first shader is for the liquid itself, the second is for the glow that covers most of lava. Just change the rgba values to use in your remix mods. Doesn't change any of the surface splashes, as those are textures.

Downloads


Latest Download
Downloads Name Uploaded
88 shaders_mod.hlsl 3 years, 9 months ago

Preview Images


Comments (1)


Please log in to leave a comment.

3 years, 4 months ago

Can you get selective? For instance, if I wanted to turn eggjuice green and leave water and lava as they are?