This post has been wikified, any user with enough reputation can edit it.
Question by
uros117 · Feb 09, 2016 at 03:47 PM ·
shadermaterialprocedural meshprocedural generationprocedural-generation
Procedural generation material problem.
Hello,
I have tried to fix this problem for a while but I cannot manage to do it. This only happens when regions have standard shader. Can someone help me? Here are some pictures.
Thanks.
capture.png
(203.2 kB)
capture.png
(182.1 kB)
Comment
Answer by multinfs · Mar 05, 2016 at 05:22 PM
Your mesh needs normals, try calling mesh.CalculateNormals() after adding vertices and triangles.
Your answer
Follow this Question
Related Questions
How can I reference a specific set of triangles or quads in a procedurally generated mesh? 0 Answers
Sorting (rendering) order of materials in mesh renderer 1 Answer
I can see the objects through the terrain. 1 Answer
Material.SetTexture doesn't work if not "_MainTex" 0 Answers
Procedural Mesh Generation with Mathf.PerlinNoise Creates Flat, Irregular Terrain 0 Answers