Shaders from glslsandbox.com
magistermaks edited this page Sep 2, 2022
·
5 revisions
This mod was specifically designed to run shaders from https://glslsandbox.com so most of them should work without major issues.
- First create an empty resource pack as described at the beginning of the Documentation page.
- Create the
shader.frag
file in the location designated in the documentation (assets/glsl_panorama/panorama/shader.frag
). - Copy the shader source from glslsandbox.com webside into that file.
- Done! now you can place your shader pack in the resource packs folder of the game.
if the shader uses one of those variables it will currently not work with GLSL Panorama
varying vec2 surfacePosition
uniform vec2 surfaceSize
uniform sampler2D backbuffer