|
|
@ -11,14 +11,14 @@ uniform sampler2D texture0; |
|
|
|
uniform vec4 colDiffuse; |
|
|
|
|
|
|
|
// NOTE: Add here your custom variables |
|
|
|
uniform vec2 nf">leftLensCenter = vec2(0.288, 0.5); |
|
|
|
uniform vec2 nf">rightLensCenter = vec2(0.712, 0.5); |
|
|
|
uniform vec2 nf">leftScreenCenter = vec2(0.25, 0.5); |
|
|
|
uniform vec2 nf">rightScreenCenter = vec2(0.75, 0.5); |
|
|
|
uniform vec2 nf">scale = vec2(0.25, 0.45); |
|
|
|
uniform vec2 nf">scaleIn = vec2(4, 2.2222); |
|
|
|
uniform vec4 nf">hmdWarpParam = vec4(1, 0.22, 0.24, 0); |
|
|
|
uniform vec4 nf">chromaAbParam = vec4(0.996, -0.004, 1.014, 0.0); |
|
|
|
uniform vec2 err">leftLensCenter; |
|
|
|
uniform vec2 err">rightLensCenter; |
|
|
|
uniform vec2 err">leftScreenCenter; |
|
|
|
uniform vec2 err">rightScreenCenter; |
|
|
|
uniform vec2 err">scale; |
|
|
|
uniform vec2 err">scaleIn; |
|
|
|
uniform vec4 err">hmdWarpParam; |
|
|
|
uniform vec4 err">chromaAbParam; |
|
|
|
|
|
|
|
void main() |
|
|
|
{ |
|
|
|