Godot: Materials are rendering black on old intel g41 chipset (default environment not working)

Created on 31 Jan 2019  路  12Comments  路  Source: godotengine/godot

Godot version:3.1

OS/device including version:Windows 7 64 bit
Intel g41 express chipset
Open Gl 2.1

Issue description: I used GLES2 renderer. Adding a mesh instance gives a completely black cube. Adding materials has no effect. The sky is rendering as it should. Using mesa3d as a open GL 3.1 fixes this problem. Otherwise it occurs on every project

Steps to reproduce: Add a cube in Godot 3.1 on intel g41 express on GLES2 project

Minimal reproduction project:

bug 3.2 rendering

Most helpful comment

All 12 comments

Without logs this might be pretty hard to find and fix.

Where do I find the needed logs? I'm with the same problem but in HTML5 export, and looking at the browser console does not show any error related.

Without logs this might be pretty hard to find and fix.

Well, Godot prints some information to stdout, which you can get on windows by running it from the command line, or from the console window which opens alongside Godot (in debug builds).

image
It turned out that I just needed to add a light to the scene. Though when I ran the same project on Mesa with a opengl 3.3 'emulated' environment, I found that a mesh with no materials was rendering blue without any material or light.
It is still a issue, but a minor one now.

GLES3-no lights give blue mesh
GLES2-no lights give black mesh

Is this still reproducible in 3.1 beta 8 or later?
Also make sure to have the default_env.tres defined as default environment in your project settings, otherwise it's normal that there is no default lighting. If it's defined and it still doesn't work, it might be that the settings used in default_env.tres don't work for your GPU, you could try to edit them to see what happens.

Using beta 8 here, and its still not fixed
untitled
With that said, g41 chipset is quite old,2008 I think, and I dont think any serious(or even hobbyist) would be using it. Only I am stuck with it. :)

Still present in latest Calinou builds

Is this present in 3.1.2 or 3.2 beta x?

@clayjohn
3.2 beta 3

No lights in any of these

Default Environment
image

No Environment(red material applied)
image

No Environment No material
image

A custom environment with no changes to default values(red material)
image

A custom environment with no changes to default values(red material)+ directional light
image

No directional light; Red Material; Custom Env; Ambient light set to white
image

Do remember that my hardware is ancient.

Was this page helpful?
0 / 5 - 0 ratings