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..." |
|||
| Line 17: | Line 17: | ||
== 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 that is run on the GPU. This is written in [[Wikipedia:OpenGL Shading Language|OpenGL Shading Language]]. | |||