benilla-re systems structs docs

s_pathOcean0S

global · terrain

Address
0x86a214 · 27 bytes, up to 0x86a22e
Type
char[27]
Meaning
Holds the path Shaders\Pixel\ocean0_s.bls of the water program
Confidence
verified, proof one
Finding
terrain/watershade#water-pixel

Finding: Water pixel in terrain: water shading

The water program of the fancy leg adds three terms to the fragment: the lit vertex colour times the ramp swatch, the sheet colour, and the sheet's alpha times the sum of the specular colour and 0.25. Its alpha is the swatch's. The program of the group water is the vertex colour plus the sheet colour plus the specular colour times the sheet's alpha, with the vertex colour's alpha.

The derivation is in the doc.