Question by
unity_AGpbqLp6XRMtgQ · Aug 09, 2021 at 12:19 PM ·
shadershadersshader programmingshader writing
How much operations does tex2d func take?
I'm trying to optimize my shader. But I'm stuck in choice: use sin() or tex2d()? Which one is faster and maybe anyone has a comparison list of shader functions?
Comment
Your answer
Follow this Question
Related Questions
my 2D light shader works wrong 0 Answers
Operate the shader, rotate the material 90 degrees 0 Answers
How do I get the fragment position in world coordinates? 1 Answer
Shader - SV_Target 1 Answer