Scorchful:Heat Stroke: Difference between revisions

Created page with "{{Infobox effect | image=Scorchful Heat Stroke.png | sources=Overheating | particle={{code|#FF1500}} (red) | type=Negative }} '''Heat Stroke''' is a status effect that causes distorts player's vision and makes them hallucinate. == Effect == thumb|The [[Minecraft:Shader#Post-processing effects|shader effect of the heat stroke.]] Heat..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox effect
{{Infobox effect
| title=Heat Stroke
| image=Scorchful Heat Stroke.png
| image=Scorchful Heat Stroke.png
| sources=[[Scorchful:Temperature System|Overheating]]
| sources=[[Scorchful:Temperature System|Overheating]]
Line 6: Line 7:
}}
}}


'''Heat Stroke''' is a [[Minecraft:Status Effect|status effect]] that causes distorts player's vision and makes them [[Scorchful:Heat Visions|hallucinate]].  
'''Heat Stroke''' is a [[Minecraft:Status Effect|status effect]] that distorts the player's vision and makes them [[Scorchful:Heat Visions|hallucinate]].  


== Effect ==
== Effect ==
[[File:Scorchful Heat Stroke shader effect.gif|thumb|The [[Minecraft:Shader#Post-processing effects|shader effect]] of the heat stroke.]]
[[File:Scorchful Heat Stroke shader effect.gif|thumb|The [[Minecraft:Shader#Post-processing effects|shader effect]] of Heat Stroke.]]


Heat Stroke has two effects: It distores the player's vision with a periodic blur and wobble effect; and causes them to begin seeing [[Scorchful:Heat Visions|heat visions]] when exposed to intense sunlight in [[Minecraft:Desert|deserts]] and [[Minecraft:Badlands|badlands]].
Heat Stroke has two effects: It distores the player's vision with a periodic blur and wobble effect; and causes them to begin seeing [[Scorchful:Heat Visions|heat visions]] when exposed to intense sunlight in [[Minecraft:Desert|deserts]] and [[Minecraft:Badlands|badlands]].
Line 17: Line 18:


== Data Values ==
== Data Values ==
The ID of the effect is {{code|scorchful:heat_stroke}}.
=== Shader Files ===
The shader effect definition uses post processing shaders to create the visual effects. These effects can be configured by [[Minecraft:Resource Packs|resource packs]]. See [[Minecraft:Shader]] for a full description of the file formats. The following files contain the primary definitions relating to the effect:
* '''assets/scorchful/post_effect/heat_stroke.json''': Defines the pass programs for the shader effect. Replace the program values with {{code|minecraft:blit}} to disable the wobble or blur effects (or both).
* '''assets/scorchful/shaders/post/(wobble|periodic_blur).json''': Defines the variables (uniforms) used in the shader. You can use these to configure the strength of the effects.
* '''assets/scorchful/shaders/post/(wobble|periodic_blur).fsh''': The fragment shader code for the effects. These are written in [[Wikipedia:OpenGL Shading Language|OpenGL Shading Language (GLSL)]].
[[Category:Scorchful|Status Effects]]