Skip to content

shadowMapResolution

const int shadowMapResolution = 1024;

Location: any glsl file

Sets the resolution for shadowtex and shadowcolor buffers used in the shadow pass. These buffers are always square, so the value applies to both x and y axes. The default value is 1024.