GenerateNormals not Working
reddit.com·3w·
Discuss: r/godot
Flag this post

Hello,

I’m working on a fully destructible shooter, and I recently switched from Marching Cubes to Surface Nets (and C#!) for increased performance. For whatever reason, my st.GenerateNormals() is NOT working. I don’t know why. I couldn’t find anything in the documentation (I swear to freak if there’s something I missed, I’ll lose it), so if there happens to be any SurfaceTool users here who know, I’d appreciate the help. I’ll paste all the code just in case it’s a weird bug, but it should mostly just be in the draw function, I would assume.

using Godot;
using System;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Resources;


[Tool]


public partial class LevelManager : Node
{
[Export] Vector3I chunksNeeded = new Vector3I(1, 1, 1);
[Export] ...

Similar Posts

Loading similar posts...