blender2ogre icon indicating copy to clipboard operation
blender2ogre copied to clipboard

GLTF Normal maps export broken for OGRE 1.14+

Open sercero opened this issue 1 year ago • 2 comments

In OGRE 1.14 the way normal maps are interpreted in the RTSS has changed: https://ogrecave.github.io/ogre/api/14/rtss.html#normal_map

Currently we are exporting to a .material that uses the OGRE 1.13 way.

sercero avatar Feb 25 '24 21:02 sercero

should not be broken though, as we still load the old syntax: https://github.com/OGRECave/ogre/blob/04fdc54eafdcb5732757122715e0fd4ae696e238/Samples/Media/materials/scripts/DamagedHelmet.material#L52

I kept this precisely because of legacy blender2ogre exports

paroj avatar Feb 25 '24 21:02 paroj

should not be broken though, as we still load the old syntax: https://github.com/OGRECave/ogre/blob/04fdc54eafdcb5732757122715e0fd4ae696e238/Samples/Media/materials/scripts/DamagedHelmet.material#L52

I kept this precisely because of legacy blender2ogre exports

Hmm, I put up this issue because when using ogre-meshviewer the Normal Maps didn't seem to be showing but I'll take a better look.

Thanks!

sercero avatar Feb 25 '24 22:02 sercero