Tag Info

New answers tagged

4

Your graphic tool probably adds dithering (both Gimp and Photoshop does by default) which causes some pixels to be below or above the exact color value or you are using a compressed texture format which causes some pixels to have the wrong color value. There might be an option in your graphic tool or texture importer to disable dithering or compression. ...


3

Tearing is caused by the nature of step function. It outputs 0 or 1, causing pixel either to be rendered or not. If you try it with smoothstep function you will get smeared edge instead. You can fix tearing artifact by rendering a line on top of the gauge (shown in green). Render the line with the same texture attached, just without the step( code - only ...



Top 50 recent answers are included