- Home /
Question by
ChameleonLabs · May 29, 2017 at 06:29 AM ·
shader programminguv mappingprocedural texturing
Is it possible to combine materials into a pattern at runtime?
I'd like to be able to combine two or more materials into a pattern and be able to assign that pattern as a material to a MeshRenderer. As a simple example; take two materials A and B and create a checkerboard material out of these that would show A when u < 0.5 and v < 0.5 or u > 0.5 and v > 0.5 otherwise it would show material B. I know this could be done with a shader and two textures but is it possible to do this with two existing materials?
Comment
Your answer
Follow this Question
Related Questions
Polygon buffering/offsetting? 1 Answer
procedural texture uv error 0 Answers
Correctly applying materials to procedural meshes 1 Answer
Update a texture at runtime using UV 0 Answers
Why is my UV'd texture displaying wrapped with the wrong scale? 0 Answers