#GLTF models rendering correctly in editor, but not in game

1 messages · Page 1 of 1 (latest)

bitter salmon
#

Hey everyone. Very new to Godot, so bear with me. I have imported the following road models from Kenny (https://www.kenney.nl/assets/city-kit-roads), and within the editor the models seem to be rendering correctly. However, in game the models are pitch black. I have no clue what is going on, and there doesnt seem to be much discussion online about this. Please help!

Download this package (65 assets) for free, CC0 licensed!

jovial summit
#

The editor has a preview WorldEnvironment node and light that don't appear in the actual game. In-game there is no light by default nor ambient light.
You can turn them off with the sun and globe icons in the top of the 3D viewport. But you still need to add your own to the scene to have light in-game.

Also if you're running the game with a different rendering mode (Compatibility vs Forward+) the result may also look different.