13 years, 1 month ago
Highlights
I heard Xbox One will support Unity. So there's that.
13 years, 1 month ago
13 years, 3 months ago
foreach( Vertex v ) { Vector3 normal = Vector3.Zero; foreach (Face f adjacent to v ) { normal += f.GetNormal(); } normal.Normalize(); } I found this algorithm. However, I…
13 years, 4 months ago
I'm having issues writing a depth RT correctly. float4x4 ViewProjection; struct VertexShaderOutput { float4 Position : SV_POSITION0; float2 Depth : TEXCOORD0; }; VertexShade…
14 years, 2 months ago
Here how I'm applying the logarithmic depth in the vertex shader. output.Position.z = log(output.Position.z / 0.001) / log(FarPlane / 0.001) * output.Position.w; //log(z/zn)…
14 years, 2 months ago
Latest Activity
See all in DiscussionsI heard Xbox One will support Unity. So there's that.
13 years, 1 month ago
I improved the averaging of vertex normals. I just need to improve the speed of it and chunk seams.
13 years, 3 months ago
After reading the source code. It seems like they are just sampling the normals from a raw file. So I'm …
13 years, 3 months ago