Project Rembrandt: Difference between revisions

Line 61: Line 61:
!Purpose
!Purpose
|-
|-
|<tt>planes</tt>
|<tt>fg_Planes</tt>
|<tt>vec3</tt>
|<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
|-
|-
|<tt>bufferSize</tt>
|<tt>fg_BufferSize</tt>
|<tt>vec2</tt>
|<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]
269

edits