How to put different textures on each face of a csgbox using visual shader?

Godot Version

v4.2.1

Question

I’m trying to put different textures on each face of a csgbox using a visual shader and inside there are three texture nodes plugged into a expression node and a output to albedo. My question is this even possible? Only asking for direction what I should learn. Thank you

screenshot

Afaik, there are no UVs for CSG shapes.

You can (in code) convert the CSGs into a single mesh, and from there find or make mesh UVs.

1 Like

Thank you