Skip to content

Add a debug effect with a shader for verifying scaled clients are rendering correctly

Arjen Hiemstra requested to merge work/ahiemstra/fractionaldebug into master

This adds a "debug" effect that currently contains a single shader that will colour pixels when either their vertex is being placed on a pixel with a fractional component or the texture they are sampling is being sampled at a pixel with a fractional component. Both cases will lead to blurriness when rendering, so should be highlighted when we want to achieve pixel-perfect fractional scaling.

Merge request reports

Loading