Преглед изворни кода

Increased normals texture precision

MarcoROG пре 8 година
родитељ
комит
ae643152b5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Source/BansheeEditor/Source/BsScenePicking.cpp

+ 1 - 1
Source/BansheeEditor/Source/BsScenePicking.cpp

@@ -261,7 +261,7 @@ namespace bs
 		normalTexDesc.type = TEX_TYPE_2D;
 		normalTexDesc.width = outputTextureProperties.getWidth();
 		normalTexDesc.height = outputTextureProperties.getHeight();
-		normalTexDesc.format = PF_R8G8B8A8;
+		normalTexDesc.format = PF_FLOAT_R11G11B10;
 		normalTexDesc.usage = TU_RENDERTARGET;
 
 		SPtr<Texture> normalsTexture = Texture::create(normalTexDesc);