GenerateNormals not Working
reddit.com·16w·
Discuss: r/godot

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help