Skip to content
  • Arjen Hiemstra's avatar
    Use normalized UV coordinates for SurfaceItem · 2f4fa23e
    Arjen Hiemstra authored
    Relying on the texture matrix to normalize means we multiply every UV
    coordinate with 1/scale, which leads to floating point errors and thus
    errors in the UV coordinates. Instead, if we calculate normalized
    coordinates directly we avoid floating point error and get proper UV
    coordinates.
    
    Longer term the plan is to make all UV coordinates normalized and get
    rid of the CoordinateType altogether.
    2f4fa23e