Closed 3aTmE closed 9 months ago
This is connected to the light style hack in the worldspawn of the bsp file. The lightmap is kind of "dynamic" to imitate the flickering shine of the fire in the barrel. Seems that OpenGL2 renderer amplifies this effect in a wrong way. I need to see what I can do here, if we are going to enable OpenGL2 as default renderer.
Maybe related to https://github.com/ioquake/ioq3/issues/521
This can be worked around using r_mergeLightmaps 0
. The only downside is maybe less performance but it probably doesn't really matter much. More details in https://github.com/ioquake/ioq3/issues/622.
@zturtleman: I tried r_mergeLightmaps 0 but without any effect. The workaround doesn't work on my side.
Oh, it also requires r_sunlightMode 0. Though that prevents using "r_forceSun 1" dynamic sun shadows.
I had more time to think about how to actually fix it. So see #243 that doesn't require any cvar changes.
The Issue seems to be mostly resolved! The affected geometry pulsates just a little bit now! Definitely a improvement!
@3aTmE: This is normal due to lightmap distribution on several textures. It also pulsates the same in OpenGL1.
@3aTmE: This is normal due to lightmap distribution on several textures. It also pulsates the same in OpenGL1.
Okay, good to know. Everything works as supposed to then :)
https://user-images.githubusercontent.com/84514074/140037049-4a98e133-538e-44f9-84f5-4ee327efc368.mov (please ignore the flicker, it's not present when ingame and most likely due some wrong OBS settings on my end)
The Issue
When using the OpenGL2 renderer while playing on wop_trashmap bits of the environment starts to glow and pulsate. When playing with OpenGL1 everything renders just fine.
Im using right now World of Padman 1.6.1 RC but it is also present in the World of Padman 1.6.1 beta.
How to replicate
On wop_trashmap simply Switch over to the OpenGL2 renderer via
/cl_renderer opengl2
and restart the renderer with/vid_restart
My System
OS: Windows 10 RAM: 16 GB, DDR4 CPU: AMD Ryzen 5 3600 GRAPHICS: AMD Radeon x580 WoP Version: 1.6.1 RC