269
edits
Line 61: | Line 61: | ||
!Purpose | !Purpose | ||
|- | |- | ||
|planes | |<tt>planes</tt> | ||
|vec3 | |<tt>vec3</tt> | ||
|Used to convert the value of the depth buffer to a depth that can be used to compute the eye space position of the fragment | |Used to convert the value of the depth buffer to a depth that can be used to compute the eye space position of the fragment | ||
|- | |- | ||
|bufferSize | |<tt>bufferSize</tt> | ||
|vec2 | |<tt>vec2</tt> | ||
|Dimensions of the buffer, used to convert gl_FragCoord into the range [0..1][0..1] | |Dimensions of the buffer, used to convert gl_FragCoord into the range [0..1][0..1] | ||
|} | |} |
edits