Defucked defucked rendering

This commit is contained in:
2014-05-07 22:34:38 +02:00
parent b1b60bce61
commit 62ca923821
13 changed files with 207 additions and 113 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void main()
frag_Diffuse = texture2D(DiffuseTexture, Input.TextureCoord);
// G-buffer Position
frag_Position = vec4(Input.Position.xy, 0.0, 0.0);
frag_Position = vec4(Input.Position.xyz, 0.0);
// G-buffer Normal
frag_Normal = vec4(Input.Normal, 0.0);