mechanicmarx / gamekit

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

.Material files not working #281

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run AppOgreKit Regression/RTShaderSystem.blend
2. All the objects using the .Material file are not appearing

I think this regressed around that the Tangent calculation was added, also 
(might be related) when adding a normal map, objects seem to disappear as well.
This can be tested by just adding a normal map on the ground plane in CppDemo, 
using regular settings to do so.

Original issue reported on code.google.com by joeyferweda@gmail.com on 25 Oct 2012 at 1:09

GoogleCodeExporter commented 8 years ago
Yes, you are right! I will fix this! Thx for reporting

Original comment by thomas.t...@googlemail.com on 25 Oct 2012 at 6:40

GoogleCodeExporter commented 8 years ago
Ok, I fixed this. Until the patch it was only possible to use the normalmap as 
first texture. There was a bug in calling the tangent-generator...nevertheless 
this still doesn't work properly as I wasn't able to use uvcoords other than 
the first one for normalmaps. I pass the right layer to the rtss...but this is 
another issue...

Again thx for reporting!

http://code.google.com/p/gamekit/source/detail?r=1202

Original comment by thomas.t...@googlemail.com on 25 Oct 2012 at 7:24