Search found 3 matches

by jonbprime
Mon Apr 06, 2015 8:51 pm
Forum: General
Topic: Shader Issue
Replies: 5
Views: 3935

Re: Shader Issue

Anyone else have an idea why the edge of the white box is curved instead of straight?
by jonbprime
Sat Apr 04, 2015 1:04 pm
Forum: General
Topic: Shader Issue
Replies: 5
Views: 3935

Re: Shader Issue

So the problem is not that the white square is warped, the problem is that the edges of the white square are curved (non-linear). Based on my shader it seems like the edges of the square should be linear, not slightly curved?
by jonbprime
Sat Apr 04, 2015 1:37 am
Forum: General
Topic: Shader Issue
Replies: 5
Views: 3935

Shader Issue

I'm trying to create a shader that will warp my output by by scaling the x axis based on the y position of the pixel. It's working but the sides of the output image are curved instead of straight? Any ideas what I'm doing wrong? Here is the shader and the input and output images are attached. vec4 e...