'Normals' for models are broken

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

'Normals' for models are broken

Postby emile_b » Fri Sep 24, 2021 12:40 am

The normal vertex data is of type 'GL_INT_2_10_10_10_REV' which does not exist for GLES2, but does exists in GLES3

https://github.com/coelckers/gzdoom/blo ... s.cpp#L278

Probably best to just revert it back to GL_INT_2_10_10_10_REV then it will work on desktop and GLES3 devices.

Alternative is to modify the data to work with these types:
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Return to OpenGLES Renderer Bugs

Who is online

Users browsing this forum: No registered users and 0 guests