mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2026-10-10 05:03:04 +08:00
fix compile error when motion blur is enabled
This commit is contained in:
@@ -143,6 +143,8 @@ float doVignette( in vec2 texcoord, in float noise){
|
||||
void main() {
|
||||
|
||||
float noise = blueNoise();
|
||||
float noise = interleaved_gradientNoise();
|
||||
vec2 texcoord_offset = texcoord;
|
||||
|
||||
#if MOTION_BLUR_AMOUNT > 0
|
||||
float depth = texture(depthtex0, texcoord_offset*RENDER_SCALE).r;
|
||||
|
||||
Reference in New Issue
Block a user