Implement multiple radial distortion rendering
This commit is contained in:
@@ -12,10 +12,7 @@ void main()
|
||||
{
|
||||
gl_Position = vec4(0,0,0,1);
|
||||
vCen = (theMat * vec4(pos,0,1)).xy;
|
||||
//vCen = (theMat * vec4(0,0,0,1)).xy;
|
||||
vRad1 = (theMat * vec4(rad1,0,1)).xy;
|
||||
//vRad1 = (theMat * vec4(0,200,0,1)).xy;
|
||||
vRad2 = (theMat * vec4(rad2,0,1)).xy;
|
||||
//vRad2 = (theMat * vec4(200,0,0,1)).xy;
|
||||
vFactor = factor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user