VR Red Dot Shader Error
Hi,
I'm trying to build a red dot sight in Unity VR using this method https://wirewhiz.com/how-to-make-a-dot-sight/. I am getting an error from the first shader. Unity is reporting the error on the line where it says: fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
I've copy/pasted the shader in without changing anything and seem to be the only one having the issue. Please help! I'm still new to game dev and don't know shaders enough to troubleshoot.
Thanks in advance for any help.
Comment
Your answer
Follow this Question
Related Questions
Critical issue with glitching standard shaders 1 Answer
Shader for creating AR in VR.. sort of.. 0 Answers
Render on top 1 Answer
3D movie screen with no scripting 0 Answers
Custom Shader Giving Unexpected token error for period ' . ' 1 Answer