ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/material.C
(Generate patch)

Comparing libgender/material.C (file contents):
Revision 1.42 by root, Sat Nov 6 04:26:18 2004 UTC vs.
Revision 1.43 by root, Sat Nov 6 04:31:01 2004 UTC

87 vsh (ctx); 87 vsh (ctx);
88 88
89 { 89 {
90 using namespace shader::compile; 90 using namespace shader::compile;
91 91
92 //z (vout.position) = (log2 (z (vout.position) + 1.F) - 1); 92 z (vout.position) = (log2 (z (vout.position) + 1.F) * 1.82F - 1);
93 z (vout.position) = z (vout.position) - 1; 93 //z (vout.position) = z (vout.position) - 1;
94 } 94 }
95 95
96 vsh_src = shader::shader_builder::stop (); 96 vsh_src = shader::shader_builder::stop ();
97 97
98 shader::shader_builder::start (); 98 shader::shader_builder::start ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines