瀏覽代碼

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);