I am writing a 3d engine in java using lwjgl3 and while my code runs perfectly fine on macOS when I run it on a windows 11 computer a get a visual bug where my lighting doesn’t work and my textures don’t have textures. and when I run it on windows 10 the skybox and height of player doesn’t work. I am using the most updated versions of lwjgl3 and java and I switch to the correct library for every OS. when trying to run my code on a different computer also running win11 I got the issue I saw in win10.
does anyone knows why there are different bugs on every version and how I can fix/debug it?
in case you want to try and run my code you can download it from this link
Make sure you put in the libraries tab in project structures the folder with the library based on the OS you use. and then run the demo file in engine tester.
[Win11](https://i.stack.imgur.com/XzMuA.png)
[Win10](https://i.stack.imgur.com/PaTmB.png)
[MacOs](https://i.stack.imgur.com/lz631.png)