]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a comment about ftransform
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Apr 2011 18:15:09 +0000 (18:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Apr 2011 18:15:09 +0000 (18:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11071 d7cf8633-e32d-0410-b094-e92efae38249

shader_glsl.h

index c7c71530a7532814b70db84e42d3001e5a9b5192..44d84da3fc67e89e7cbcffe93189f09921c0df95 100644 (file)
 "# endif\n"
 "#endif\n"
 "\n"
-"      // transform vertex to camera space, using ftransform to match non-VS rendering\n"
+"      // transform vertex to clipspace (post-projection, but before perspective divide by W occurs)\n"
 "      gl_Position = ModelViewProjectionMatrix * Attrib_Position;\n"
 "\n"
 "#ifdef USESHADOWMAPORTHO\n"