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

Comparing libgender/material.C (file contents):
Revision 1.41 by root, Sat Nov 6 01:56:20 2004 UTC vs.
Revision 1.42 by root, Sat Nov 6 04:26:18 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) / w (vout.position)) * w (vout.position); 92 //z (vout.position) = (log2 (z (vout.position) + 1.F) - 1);
93 z (vout.position) = z (vout.position) - 1;
93 } 94 }
94 95
95 vsh_src = shader::shader_builder::stop (); 96 vsh_src = shader::shader_builder::stop ();
96 97
97 shader::shader_builder::start (); 98 shader::shader_builder::start ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines