JellyFish: Difference between revisions
Jump to navigation
Jump to search
Note:This entire page was written with information from testing the shader in Episode 2 ONLY.
mNo edit summary |
No edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{obsolete|type=shader}} | |||
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>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. | |||
{{Note|This entire page was written with information from testing the shader in Episode 2 ONLY.}} | {{Note|This entire page was written with information from testing the shader in Episode 2 ONLY.}} | ||
The shader is fixed in {{gmod}} | |||
[[{{ns:6}}:JellyFish Inner workings.png|thumb|right|300px|How the JellyFish shader works on models in Episode 2.]] | [[{{ns:6}}:JellyFish Inner workings.png|thumb|right|300px|How the JellyFish shader works on models in Episode 2.]] | ||
== Shader specific parameters == | == Shader specific parameters == | ||
{{MatParamDef|$basetexture|texture|}} | |||
{{MatParamDef|$gradienttexture|texture|The Half-Life 2 Beta code describes it as "1D texture for silhouette glowy bits".}} | |||
{{MatParamDef|$envmap|texture|If unset, will be the cubemap?}} | |||
{{MatParamDef|$envmaptint|vector3|Default is [1 1 1]}} | |||
{{MatParamDef|$pulserate|float|Default is 0}} | |||
== Trivia == | == Trivia == |
Latest revision as of 11:45, 23 August 2025

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.

Shader specific parameters
The Half-Life 2 Beta code describes it as "1D texture for silhouette glowy bits".
Default is [1 1 1]
Default is 0
Trivia
This is and was used for the Hydra in the Half-Life 2 Beta and a number of mods.