Using Modulo on Screen Space Coordinates in GLSL Not Producing Expected Result

前端 未结 0 1980
礼貌的吻别
礼貌的吻别 2020-12-13 07:34

I suppose this is more of a math question than anything.

Here is a basic shader:

void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
    // Norma         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题