asafbibas / jmonkeyengine

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

Blender loader doesn't load specular color correctly #431

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a model in blender that has specular color set to white
2. Now change the specular intensity to 0.25
3. Load this model in the Blender loader

What is the expected output? What do you see instead?
I expect specular color to be 0.25, 0.25, 0.25, 1.00
Instead it is 1.0, 1.0, 1.0, 1.0.
The specular color in jME3 should equal the specular color in Blender times the 
intensity.
Due to this issue, models in jME3 are much more shiny than they are in Blender.

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

GoogleCodeExporter commented 8 years ago
Hi,
Is this still a problem?

I've attempted to write a fix, along with a test (though the test depends on an 
external blend file...).

I'm not sure if its the correct fix - particularly as it only affects the 
CookTorr shader.

Lachlan

Original comment by flipside...@gmail.com on 8 Aug 2013 at 4:30

Attachments: