Untitled
unknown
plain_text
a year ago
190 B
6
Indexable
// Return: depth [0, 1] -> Real depth
float getABSDepth( in const float normalizedDepth ) {
return ( NearFarPlane.x + (NearFarPlane.y - NearFarPlane.x) * (1.0 - normalizedDepth) );
}Editor is loading...
Leave a Comment