Rain World

Rain World

Not enough ratings
BetterDecals
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
616.187 KB
7 May, 2024 @ 1:10pm
6 Apr @ 5:57pm
6 Change Notes ( view )

Subscribe to download
BetterDecals

Description
Adds more customization for decals, including tints, blend modes, and masking!

Blend modes are the ones you see in paint dot net but you can also find the exact code in this shadertoy demo
https://www.shadertoy.com/view/MfKXWR

The two blend modes on the left are what is used by default, the top one being what is used when in the light, the bottom one is whats used when in shadow. Alternatively, you can set the boolean to the right to true, and set the blend mode below that to override the somewhat complicated blending normal decals have.

Clicking on Color, Masking, Shadow Alpha, Light Alpha, or Erosion will open a panel to the side with more sliders and buttons for the setting clicked.

Opening the Color tab, there will be three tint sliders, for Red, Green, and Blue. Clicking on these buttons will open up the individual quad controls.

Opening the Masking tab, there will be a few buttons for if the decal should apply to Terrain (not watcher terrain), Effect Color A, Effect Color B, Level-Decals (From the actual level png), Grime, and Batfly Hives.

Opening the Shadow Alpha, Light Alpha, or Erosion tabs will show the individual quad sliders for these.

- Changelog -

0.1.0 initial release
0.1.1 adds new sliders, but is compatible with 0.1.0 rooms
0.1.1b doesn't change anything but the devtools layout
0.1.2 separates opacity and shadow opacity (no longer linked), will auto-fix when updating
1.0.0 rewrite from scratch, change devtools ui, give shadow opacity quad control, and update masking. Will auto-fix when updating
1.1.0 update to watcher

Source code: https://github.com/LudoCrypt/BetterDecals/
I'm not sure if I can give the shader src since it references vanilla

Issues: If you encounter any weird rendering issues; this may be why. So just like leave a comment or something or dm me on discord @LudoCrypt