0 votes

I have generated a MeshInstance using SurfaceTool, Mesh, and a bit of perlin noise using the SoftNoise script found in the asset store. Not ever having dealt with materials on Triangle Strip before I am at a loss. I set the color of the material to red using set_parameter and set the material of the surface. However the result of the following code snippet is a jet black square.

var mat = FixedMaterial.new()
mat.set_parameter(mat.PARAM_DIFFUSE, Color(1,0,0))

for y in range(rows-1):
    for x in range(cols):



Through some digging I have come to believe I am missing UV's? This is my first project with Godot and procedural generation. I appreciate any input.

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.