mirror of
https://github.com/edubart/otclient.git
synced 2025-12-14 12:49:47 +01:00
Lightning is not additive anymore
Now otclient lightning may look like more tibia lights, before this too many lights together would increase brightness a lot, this won't happen anymore in cards with OpenGL 1.4 or newer
This commit is contained in:
@@ -357,6 +357,19 @@ bool Graphics::canUseBlendFuncSeparate()
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Graphics::canUseBlendEquation()
|
||||
{
|
||||
#if OPENGL_ES==2
|
||||
return true;
|
||||
#elif OPENGL_ES==1
|
||||
return true;
|
||||
#else
|
||||
if(!GLEW_VERSION_1_4)
|
||||
return false;
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Graphics::canCacheBackbuffer()
|
||||
{
|
||||
if(!m_alphaBits)
|
||||
|
||||
Reference in New Issue
Block a user