Parinesh-Baitule / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Blender loader sets blend mode = alpha on material that is not really transparent #430

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a non-transparent blender model

What is the expected output? What do you see instead?
The material is non transparent, therefore, the blend mode should be set to off 
(or not set at all). Instead the additional render state has the blend mode set 
to alpha. Enabling blend mode on non transparent models can reduce performance

Original issue reported on code.google.com by ShadowIs...@gmail.com on 16 Nov 2011 at 6:34

GoogleCodeExporter commented 8 years ago
Transparency flag was being read directly from the blender file.
Now it is calculated basing on the alpha of the three available colors.

Original comment by mrogu...@poczta.fm on 8 Dec 2011 at 5:38