1
Support / Rendered in black with multiple texture files (jpg + png)
« on: October 31, 2018, 09:44:24 pm »
Hi,
my model mtl file is pointing to 2 texture files for body (.jpg) and shadow (.png) respectively.
I noticed the model is rendered in almost black. (with a little red-ish area)
If I exclude png file then it renders the model fine but obviously shadow area is also rendered with body texture.
Am I missing something here?
note: when adding png texture, I also turned on "useAlpha" parameter as well.
Also loading the model from serial file to speed up.
my model mtl file is pointing to 2 texture files for body (.jpg) and shadow (.png) respectively.
I noticed the model is rendered in almost black. (with a little red-ish area)
If I exclude png file then it renders the model fine but obviously shadow area is also rendered with body texture.
Am I missing something here?
note: when adding png texture, I also turned on "useAlpha" parameter as well.
Also loading the model from serial file to speed up.