Преглед на файлове

make pass name match material pass name

Nicolas Cannasse преди 6 години
родител
ревизия
7d2b608314
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {
 		if( format == null ) format = R16F;
 		if( !h3d.Engine.getCurrent().driver.isSupportedFormat(format) ) format = h3d.mat.Texture.nativeFormat;
-		super("shadows");
+		super("shadow");
 		this.light = light;
 		blur = new Blur(5);
 		blur.quality = 0.5;