So I was trying out the Toon Ramp listed here: http://docs.unity3d.com/Manual/SL-SurfaceShaderLightingExamples.html and the Team Fortress 2 Shader listed here: http://wiki.unity3d.com/index.php/TeamFortress2Shader In both cases if I use it straight as listed, I get the error: Shader error in 'Custom/RampShadows': incorrect number of arguments to numeric-type constructor Here are the problem lines from both: fixed3 ramp = tex2D(_RampTex, float2(NdotL* atten)).rgb; half3 ramp = tex2D (_Ramp, float2(diff)).rgb; So I gather float2 is expecting 2 parameters, not just 1. Did this previously work without the second parameter? Did it default to a constant or double the first parameter or what?