Shader cordinate bug



  • openfl_TextureCoordv is supposed to be 0 = left, 1 = right, but if you make the window big and then small, its more like 0 = left and 0.5 = right.

    Before:
    0_1552949045211_before.PNG
    During:
    0_1552949058959_during.PNG
    After:
    0_1552949070661_after.PNG

    Shader is gl_FragColor = vec4(openfl_TextureCoordv.x, openfl_TextureCoordv.x, openfl_TextureCoordv.x, 1);


  • administrators

    Might be something for the OpenFL issue tracker, if you can reproduce with a pure OpenFL project / without Flixel.


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.