JellyFish: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Shader specific parameters: lowercase param names for wiki linking)
No edit summary
Line 1: Line 1:
{{obsolete|shader=1}}
{{obsolete|type=shader}}
'''<code>Jellyfish</code>'''
'''<code>Jellyfish</code>'''
This shader usually results in wireframe and therefore is unreliable and doesn't work. There is a glitch where this shader splits the player's view into four rectangular quadrants, and multiplies one colour per quadrant on the model. The "gradient" overlay on the model is locked to the player view; it doesn't pan, but it does resize as the view nears the model. The <code>$gradienttexture</code> seems to have no effect. Models with this shader are fullbright.  
This shader usually results in wireframe and therefore is unreliable and doesn't work. There is a glitch where this shader splits the player's view into four rectangular quadrants, and multiplies one colour per quadrant on the model. The "gradient" overlay on the model is locked to the player view; it doesn't pan, but it does resize as the view nears the model. The <code>$gradienttexture</code> seems to have no effect. Models with this shader are fullbright.  

Revision as of 08:27, 23 November 2024

Obsolete-notext.png
This shader is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

Jellyfish This shader usually results in wireframe and therefore is unreliable and doesn't work. There is a glitch where this shader splits the player's view into four rectangular quadrants, and multiplies one colour per quadrant on the model. The "gradient" overlay on the model is locked to the player view; it doesn't pan, but it does resize as the view nears the model. The $gradienttexture seems to have no effect. Models with this shader are fullbright.

Note.pngNote:This entire page was written with information from testing the shader in Episode 2 ONLY.
How the JellyFish shader works on models in Episode 2.

Shader specific parameters

$basetexture $gradienttexture $envmap $envmaptint $pulserate

Trivia

This is and was used for the Hydra in the Half-Life 2 Beta and a number of mods.