Bug behoben bei den Texturen
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user