ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
341 stars 90 forks source link

Implement fragment program fallback for GL_ATI_texture_env_combine3 and GL_NV_texture_env_combine4 #682

Open kaetemi opened 1 year ago

kaetemi commented 1 year ago

On Intel HD graphics the GL_ATI_texture_env_combine3 and GL_NV_texture_env_combine4 extensions are not supported, this causes reflection on armor to become disabled. As GL_ARB_fragment_program is available on this graphics target, it should be possible to support the MAD operator in the texture stages by generating a fragment program.

The behaviour of GL_ATI_texture_env_combine3 is the desired ideal behaviour.