Changes

Jump to navigation Jump to search
m
Line 65: Line 65:     
A depth value of 0 represents 0.0 in floating-point, and a value of 0xFFFFFF (16777215) represents 1.0 .
 
A depth value of 0 represents 0.0 in floating-point, and a value of 0xFFFFFF (16777215) represents 1.0 .
So the formula to convert a flaoting-point depth to a 24-bit depth would be:
+
So the formula to convert a floating-point depth to a 24-bit depth would be:
 
* 24_bit_depth = (floating_point_depth * 16777215.0)
 
* 24_bit_depth = (floating_point_depth * 16777215.0)
 
Where floating_point_depth is between 0.0 and 1.0, of course.
 
Where floating_point_depth is between 0.0 and 1.0, of course.
      
===Copy filter registers===
 
===Copy filter registers===
3,893

edits

Navigation menu