adriengivry / Overload

3D game engine with lua scripting
https://overloadengine.org/
MIT License
1.76k stars 226 forks source link

3D models appearing flat in editor #239

Open darkvergus opened 1 year ago

darkvergus commented 1 year ago

Description Having cloned the repository, compiled and launched i've realized that the models are always in a 2D shape even though they are supposed to be 3D.

Screenshots image

Commit id: 30dd86ffc8764d10315aad9921cd33919cb9fbcc Windows Build: Windows 10 Pro Version 22H2 build 19045.2364 GPU Vendor & Model: AMD Radeon RX 5700XT GPU Driver Version: Adrenalin 22.11.2 CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz

adriengivry commented 1 year ago

@darkvergus I can see that your cube is indeed flat, can you share with us a capture of the Transform of this cube, as well as the Transform of its parent ("New Actor")?

darkvergus commented 1 year ago

Of course here is the transform for the cube: image

and here the parent: image

This happens even if i just drag a normal model from the models folder into the scene I've tested this with the released build 1.3.0 as well and had the same result

adriengivry commented 1 year ago

@darkvergus That's super intriguing. You can see the Camera model is being rendered properly, so something might be wrong with the rendering pipeline for scene objects. Are you using the default material? If not, what shader are you using? Could you also attach an archive of your project so we can check what's going on?

darkvergus commented 1 year ago

Yea of course, i'm using everything on default.

Test.zip

Here it is

adriengivry commented 1 year ago

@darkvergus I can't see anything wrong with your scene indeed. We are gonna investigate on this issue, thanks for the feedback!

Also, would you mind editing the description of the issue to include these information:

Thanks!

darkvergus commented 1 year ago

@adriengivry done hope that helps