Force vertex light when using permedia 2

This commit is contained in:
smallmodel 2025-01-19 15:07:50 +01:00
parent ec6cab28a5
commit 47cd8ccfc8
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -441,7 +441,7 @@ static shader_t *ShaderForShaderNum( int shaderNum, int lightmapNum ) {
}
dsh = &s_worldData.shaders[ shaderNum ];
if ( r_vertexLight->integer ) {
if ( r_vertexLight->integer || glConfig.hardwareType == GLHW_PERMEDIA2 ) {
lightmapNum = LIGHTMAP_BY_VERTEX;
}