* s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problems
and you're using an nVidia graphics card, make sure your 'conformant texture clamp' setting is set to on for ioq3)
This commit is contained in:
parent
7edcc7d16a
commit
f2baf359ae
6 changed files with 14 additions and 17 deletions
|
@ -205,7 +205,7 @@ static void R_LoadLightmaps( lump_t *l ) {
|
|||
}
|
||||
}
|
||||
tr.lightmaps[i] = R_CreateImage( va("*lightmap%d",i), image,
|
||||
LIGHTMAP_SIZE, LIGHTMAP_SIZE, qfalse, qfalse, GL_CLAMP );
|
||||
LIGHTMAP_SIZE, LIGHTMAP_SIZE, qfalse, qfalse, GL_CLAMP_TO_EDGE );
|
||||
}
|
||||
|
||||
if ( r_lightmap->integer == 2 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue