Commit ef542b8d authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Fix writing invalid value to specular buffer in deferred terrain

parent 7de5e8cd
......@@ -60,7 +60,7 @@ void main()
outColor.a = 0.0; // yes, downstream atmospherics
frag_data[0] = outColor;
frag_data[1] = vec4(0.0,0.0,0.0,-1.0);
frag_data[1] = vec4(0.0,0.0,0.0,0.0);
vec3 nvn = normalize(vary_normal);
frag_data[2] = vec4(encode_normal(nvn.xyz), 0.0, 0.0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment