9D-Tony / UnitySmoothPixelFiltering

A unity shader for smooth pixel filtering, based on CptPotato's smooth filtering
MIT License
81 stars 7 forks source link

small update of texturePointSmooth() #5

Closed remjie closed 1 year ago

remjie commented 1 year ago

you can use integred value of XXX_TexelSize x and y coordinate to simplify calculation and eliminate both "size" + "pixel" to reduce garbage collection.