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.