ssebi / jmonkeyengine

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

Blender loader doesn't load texture coord 2 #463

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to load a .blend model with 2 UVMaps (texture coordinate sets)

What is the expected output? What do you see instead?
I expect both TexCoord and TexCoord2 buffers to be populated on the mesh, 
instead, only TexCoord is populated. Supporting the additional texture 
coordinate is needed for lightmaps which are commonly used in jME3.

Original issue reported on code.google.com by ShadowIs...@gmail.com on 11 Feb 2012 at 6:49

GoogleCodeExporter commented 9 years ago
Now every type of texture mapping is mapped to different coordinates:
Color = TexCoord
Normal = TexCoord2
Specular = TexCoord3
Emission = TexCoord4
Alpha = TexCoord5

If that is what was expected then please close the issue.

Original comment by mrogu...@poczta.fm on 20 Jun 2012 at 2:58