The shader editor display range is different from the browser display

  • Creator Version:
  • Target Platforms:
  • Reproduction method:
    Use the sprite shader and add the following processing to the frag
    : float len ​​= distance(uv0,vec2(0.5,0.5));
    if(len > 0.5){
    or = 1.0;
    }
  • Editor Operating System:
  • Probability of recurrence:

4534534535345

√Remove

Creator version: 3.8.6
Target platform: Chrome
editor Operating system: Win10
Probability of recurrence: Definitely

I don’t know why the information I just submitted is gone. It disappeared after I uploaded two pictures.

It seems to be related to vec2(0.5,0.5). In the editor, this point is the center of the image, but in the browser, it is not.

Awesome, thanks a lot, it seems to be because of the combined picture