Переглянути джерело

Removes dirtTexture from UnrealBloomPass (#23954)

* Removes dirtTexture from UnrealBloomPass

I assume these were leftovers from something?

* Update UnrealBloomPass.js
Gianmarco 3 роки тому
батько
коміт
f42aad6ff6

+ 0 - 4
examples/js/postprocessing/UnrealBloomPass.js

@@ -302,9 +302,6 @@
 					'blurTexture5': {
 						value: null
 					},
-					'dirtTexture': {
-						value: null
-					},
 					'bloomStrength': {
 						value: 1.0
 					},
@@ -329,7 +326,6 @@
 				uniform sampler2D blurTexture3;
 				uniform sampler2D blurTexture4;
 				uniform sampler2D blurTexture5;
-				uniform sampler2D dirtTexture;
 				uniform float bloomStrength;
 				uniform float bloomRadius;
 				uniform float bloomFactors[NUM_MIPS];

+ 0 - 2
examples/jsm/postprocessing/UnrealBloomPass.js

@@ -354,7 +354,6 @@ class UnrealBloomPass extends Pass {
 				'blurTexture3': { value: null },
 				'blurTexture4': { value: null },
 				'blurTexture5': { value: null },
-				'dirtTexture': { value: null },
 				'bloomStrength': { value: 1.0 },
 				'bloomFactors': { value: null },
 				'bloomTintColors': { value: null },
@@ -375,7 +374,6 @@ class UnrealBloomPass extends Pass {
 				uniform sampler2D blurTexture3;
 				uniform sampler2D blurTexture4;
 				uniform sampler2D blurTexture5;
-				uniform sampler2D dirtTexture;
 				uniform float bloomStrength;
 				uniform float bloomRadius;
 				uniform float bloomFactors[NUM_MIPS];