You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I Export something with cryblend it creates an .mlt file and .cgf file and a .dds file just fine. I can open that in sandbox and it Looks correct.
However, if I don't open it in sandbox but instead after exporting trying to just call LoadGeometry() on a newly created entity, I see nothing.
If I load the exact same geom in the Sandbox, I can see it. Also, if I modify the material a tiny bit so the sandbox has to rewrite it, I can afterwards load the geom with the material successfully from c++ as well. It's enough to Switch the diffuse texture to another one and back to the original to do this.
Camparing the .mtl files from before the sandbox save and afterwards, there are additional Parameters in the .mtl that got added by sandbox. I also tried adding those myself without opening Sandbox after exporting with cryblend and that also makes the geoms work when loaded from c++. So it's just the generated .mtl files from cryblend that are missing some Parameters.
I'ld see cryblend adding those Parameters directly so I can just Export from blender use the created files directly in my game without having to do another step in between that adds those parameters.
The text was updated successfully, but these errors were encountered:
Hi !
When I Export something with cryblend it creates an .mlt file and .cgf file and a .dds file just fine. I can open that in sandbox and it Looks correct.
However, if I don't open it in sandbox but instead after exporting trying to just call LoadGeometry() on a newly created entity, I see nothing.
If I load the exact same geom in the Sandbox, I can see it. Also, if I modify the material a tiny bit so the sandbox has to rewrite it, I can afterwards load the geom with the material successfully from c++ as well. It's enough to Switch the diffuse texture to another one and back to the original to do this.
Camparing the .mtl files from before the sandbox save and afterwards, there are additional Parameters in the .mtl that got added by sandbox. I also tried adding those myself without opening Sandbox after exporting with cryblend and that also makes the geoms work when loaded from c++. So it's just the generated .mtl files from cryblend that are missing some Parameters.
I'ld see cryblend adding those Parameters directly so I can just Export from blender use the created files directly in my game without having to do another step in between that adds those parameters.
The text was updated successfully, but these errors were encountered: