3
2012
Multi-UV Mixing (shader)

Testing multi-UV mixing (related forum link).
All this shader does, it uses the same material with different sizes.. so it doesnt look so tiled.
(but loses detail and actually while testing, simple bumpmap helps to remove tiling quite nicely also..)
Screenshot:left side, standard diffuse map – right side, UV mixed map.
This version is made directly from “Diffuse” shader (link to Unity docs)
find line:
o.Albedo = tex2D (_MainTex, IN.uv_MainTex).rgb;
replace with: (adjust the multipliers to get different effects)
half3 col= tex2D (_MainTex, IN.uv_MainTex).rgb*0.5; col+=tex2D (_MainTex, IN.uv_MainTex*0.75).rgb*0.25; col+=tex2D (_MainTex, IN.uv_MainTex*0.5).rgb*0.25; o.Albedo = col;
Related Posts
7 Comments + Add Comment
Leave a comment
Recent posts
- 2 Sided Lighting for Sprite Diffuse Shader
- Run webgl application locally using python
- [LudumDare53] Delivery
- Dungeon Crawler Jam 2023: Trials Of the Mage
- [GreaseMonkey] Display “Unity Version Added” info in API Docs
- Fake 3D Parallax Effect using Shader & (Pre-generated) Depth Map
- Using OpenAI API with WebRequest from Unity
- [LudumDare52] Theme: Harvest
- Painting with Compute Shader
- Draw Pseudo Hilbert Curve
- Unity Stable Diffusion plugin
- Testing Connected Component Labeling
Recent Comments
- on 2D Visibility / Shadow
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
- on [GreaseMonkey] Display “Unity Version Added” info in API Docs
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
- on LineRenderer with Outline Shader
- on UI Text TypeWriter Effect [Script]
An article by











TriPlanar shader:
http://www.martinpalko.com/Tutorials/TriplanarMapping/TriplanarMapping.html
Improved Triplanar map shader:
https://www.shadertoy.com/view/lsj3z3
triplanar shader:
http://forum.unity3d.com/threads/234373-Unity-Multi-Material-Triplanar-Texturing
Improved Terrain Texture Tiling (shader)
http://forum.unity3d.com/threads/improved-terrain-texture-tiling.116509/
smoother tri-planar shader:
http://www.blog.radiator.debacle.us/2013/02/a-smoother-triplanar-shader-for-unity.html?m=1
How to setup normals on triplanar
http://forum.unity3d.com/threads/how-to-setup-normals-on-triplanar.373310/
“For a certain class of textures called stochastic textures, it solves the issue of tiling repetition when tileable textures are repeated across a surface”
https://github.com/UnityLabs/procedural-stochastic-texturing
https://blogs.unity3d.com/2019/02/14/procedural-stochastic-texturing-in-unity/