Game Development Community

Regarding Pc_accum_time And Vc_detail_scale

by Thomas Phillips · in Torque Game Engine Advanced · 11/25/2006 (8:51 pm) · 1 replies

Does anyone know why accumulated time isn't set for the vertex shaders? (C4 for the pixel shaders.) Is there a technical reason for the omission, or is it just accidental?

Also, does anyone know why the setting of VC_DETAIL_SCALE (C40) has been commented out of the code [but not the shader constants]?

Tom

#1
04/26/2007 (5:50 pm)
I've been wondering this myself, and have been trying to stuff it in C28, which appears not to be set, i think i'll have to go through and make sure all the code uses constants, there's a lot of settting of shader constants that's using fixed register numbers 'i.e. magic numbers', without the symbolic constant, so it's hard to figure out what is available.

At this time, it would appear that the value isn't updating, i need to dig back into Pix or something to see what value is in that register...