- Home /
Where does uv_SplatMap get its values?
I see many examples of it being referenced but never assigned.
Answer by Zodiarc · Oct 19, 2016 at 09:34 AM
Which coordinates do you mean? The UV coordinates come from the model data. the splat map itself should be a texture assigned through the inspector (see here http://acegikmo.com/shaderforge/wiki/index.php?title=Texture_Splatting)
I have found many shaders online that reference the value uv_Splatmap.
I.$$anonymous$$ fixed4 splatmap = tex2D(_Splat$$anonymous$$ap, IN.uv_Splat$$anonymous$$ap);
Typically, IN.uv (from v2f) is given its values from an assignment like o.uv = v.uv inside the vertex shader. However, in all the examples I've seen using uv_splatmap I never see an assignment such as o.uv_Splatmap = v.uv and yet those shaders work. Ergo, my question.
Your answer

Follow this Question
Related Questions
UV Tiling/repeat 1 Answer
Which IOS devices support Texturewrap.mirror? 0 Answers
UV coordinates screwy are screwy again... 1 Answer
Unity 5 not recognizing Blender UV coordinates properly. 0 Answers
need guide in uv texture 0 Answers