mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-02 06:33:30 +00:00
Eliminate banding in crepuscular rays
This commit is contained in:
parent
245e8532cb
commit
170fb52af5
2 changed files with 2 additions and 2 deletions
|
@ -517,7 +517,7 @@ void FBO_Init(void)
|
|||
tr.quarterFbo[i] = FBO_Create(va("_quarter%d", i), tr.quarterImage[i]->width, tr.quarterImage[i]->height);
|
||||
FBO_Bind(tr.quarterFbo[i]);
|
||||
|
||||
FBO_CreateBuffer(tr.quarterFbo[i], GL_RGBA8, 0, 0);
|
||||
FBO_CreateBuffer(tr.quarterFbo[i], hdrFormat, 0, 0);
|
||||
FBO_AttachTextureImage(tr.quarterImage[i], 0);
|
||||
|
||||
R_CheckFBO(tr.quarterFbo[i]);
|
||||
|
|
|
@ -2761,7 +2761,7 @@ void R_CreateBuiltinImages( void ) {
|
|||
}
|
||||
for (x = 0; x < 2; x++)
|
||||
{
|
||||
tr.quarterImage[x] = R_CreateImage2(va("*quarter%d", x), NULL, 512, 512, IMGFLAG_NO_COMPRESSION | IMGFLAG_CLAMPTOEDGE, GL_RGBA8);
|
||||
tr.quarterImage[x] = R_CreateImage2(va("*quarter%d", x), NULL, 512, 512, IMGFLAG_NO_COMPRESSION | IMGFLAG_CLAMPTOEDGE, hdrFormat);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue