Skip to content

NoiseTex

uniform sampler2D noisetex;

This buffer stores a generated RGB white noise texture. The resolution of this texture can be configured with the noiseTextureResolution constant, and defaults to 256x256. The texture is always square, meaning its width and height are equal.

Custom Noise Texture

Similar to Custom Textures, the noisetex texture can be overwritten with an image file from the shader files. The following line can be placed in shaders.properties, where <path> is replaced with the file path of the image file relative to the “shaders” folder:

shaders.properties
texture.noise=<path>