Skip to content

Instantly share code, notes, and snippets.

@EtiTheSpirit
EtiTheSpirit / Rain World Shader Info.md
Last active April 6, 2025 20:19
Rain World Shader Documentation

This addresses quirks with the lighting engine and how it interacts with custom shaders.

Futile is a bit of a frankenstein's monster when it comes to iteroperability with base Unity systems; while Unity shaders work, the behavior is overshadowed by Futile's layer system. This caused me to spend more hours than I care to admit trying to figure out why an unlit holographic/additive shader I wrote was casting shadows, and I want to prevent that pain for anyone else who may be reading.

Custom Shaders and Futile's Render Queue

This section covers shader information. It is directed towards those that already understand fundamental shader concepts.

Quirks and Limitations

  • The ZWrite and ZTest commands (among less common others) are ignored. Futile does not have a depth buffer.1
  • Vanilla uses certain declarations that are useless as well (their inclusion is erroneous). These are:
@advaith1
advaith1 / discordjs-slash-commands.md
Last active September 27, 2025 00:18
Slash Commands in Discord.js