Posted June 4, 20169 yr When passing true for the applyDiffuseLighting parameter in the BakedQuad constructor in getQuads, the textures become black. It renders correctly with applyDiffuseLighting set to false. How can I have working textures and diffuse lighting? For the sake of simplicity, we can look at the ModelBakeEventDebug.java (https://github.com/MinecraftForge/MinecraftForge/blob/master/src/test/java/net/minecraftforge/debug/ModelBakeEventDebug.java), which has the same problem. P.S.: Model jsons are not an option.
June 12, 20169 yr Author Solved by using UnpackedBakedQuad.Builder(), rather than creating BakedQuad manually.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.