Răsfoiți Sursa

make pass name match material pass name

Nicolas Cannasse 6 ani în urmă
părinte
comite
7d2b608314
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      h3d/pass/Shadows.hx

+ 1 - 1
h3d/pass/Shadows.hx

@@ -24,7 +24,7 @@ class Shadows extends Default {
 	public function new(light) {
 	public function new(light) {
 		if( format == null ) format = R16F;
 		if( format == null ) format = R16F;
 		if( !h3d.Engine.getCurrent().driver.isSupportedFormat(format) ) format = h3d.mat.Texture.nativeFormat;
 		if( !h3d.Engine.getCurrent().driver.isSupportedFormat(format) ) format = h3d.mat.Texture.nativeFormat;
-		super("shadows");
+		super("shadow");
 		this.light = light;
 		this.light = light;
 		blur = new Blur(5);
 		blur = new Blur(5);
 		blur.quality = 0.5;
 		blur.quality = 0.5;