Open nekonomicon opened 5 years ago
There is an apparent reason. It looks like shit.
add this to mobility interface?
I don't think it's even worth to have stencil shadows. They don't cast properly anyway.
Registering r_shadows with other name will not break snything. But i think, we should check this hack on x86/mingw and maybe add assembly imolementation for function begin for gcc to ensure compatibility
And if mod supports stencil shadows, it should have models and lighting that looks good with it
ey, i turned it on
they ARE buggy, but the feeling is 10x better and really cool
it makes up for the buggynes!
i require
Valve disabled stencil shadows in the latest WON and steam HL releases for no apparent reason. Stencil shadows was disabled in Xash3D too, because some mods inject GL_StudioDrawShadows function in game libraries. An example: https://github.com/nekonomicon/hlsdk-xash3d/blob/zombie-x/cl_dll/hud.cpp#L363 https://github.com/nekonomicon/hlsdk-xash3d/blob/zombie-x/cl_dll/StudioModelRenderer.cpp#L36 https://github.com/nekonomicon/hlsdk-xash3d/blob/zombie-x/cl_dll/StudioModelRenderer.cpp#L1754
But this hack will work only on x86 windows. What about other platforms?