Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Fragment Shader Alpha gradient looks pixelated

$
0
0
Hi all,
I'm trying to make my first fragment shader which I want to highlight sharp edges of my model. I have done this by assigning an alpha value to every vertex in the uv channel based on how sharp that vertex is. However, in my fragment shader this looks very unsmooth as seen in the picture. I'm currently just assigning my alpha values to the alpha channel of my shaders color in the fragment portion of the shader. Is there a better way to do this which will make it smoother?...

Fragment Shader Alpha gradient looks pixelated

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>