0
votes
1answer
153 views

Why texture coordinate of flat surface reflection is calculated like this in fragment shader? [closed]

The whole project is here: https://developer.apple.com/library/mac/#samplecode/GLEssentials/Introduction/Intro.html The rendering flow is like this: Render the character upside down to a texture. ...