Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLTF Normal maps export broken for OGRE 1.14+ #202

Open
sercero opened this issue Feb 25, 2024 · 2 comments
Open

GLTF Normal maps export broken for OGRE 1.14+ #202

sercero opened this issue Feb 25, 2024 · 2 comments

Comments

@sercero
Copy link
Collaborator

sercero commented Feb 25, 2024

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.

@paroj
Copy link
Member

paroj commented Feb 25, 2024

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

@sercero
Copy link
Collaborator Author

sercero commented Feb 25, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants