Bug behoben bei den Texturen

This commit is contained in:
2026-08-10 12:33:10 +02:00
parent 9561966071
commit 294a080a3c
5 changed files with 62 additions and 74 deletions

View File

@@ -531,6 +531,12 @@ public class SculptedMeshEditorState extends BaseAppState {
if (a2 != null) { mat.setTexture("AlphaMap_2", a2); }
}
// Klippen-Textur
if (input.voxelSteepSlot >= 0) {
mat.setBoolean("HasSteep", true);
mat.setInt("SteepIndex", input.voxelSteepSlot);
}
mat.getAdditionalRenderState().setFaceCullMode(RenderState.FaceCullMode.Off);
bakedMat = mat;
normalMat = mat;