|
|
|
|
|
by bntr
387 days ago
|
|
Do you mean applying geometric distortion in the fragment shader? I'm not quite sure how that would work (I'm not so familiar with shaders at that level). I've heard of true 3D bump mapping being done in fragment shaders (not just lighting), but I can't really imagine how more radical geometric distortion could be implemented there. |
|
This answer suggests some other ideas on implementing lens distortion: https://stackoverflow.com/a/44492971