Open mvdhout1992 opened 3 years ago
This needs #320 to be cleaned up, GL3 support added.
Does this require SDL2 hardware rendering too?
What do you mean? GLSL is on top of OpenGL so yes, it's accelerated by the GPU unless your GL implementation is software emulated.
You can implement software scaling filters as well but it will be dog slow.
Doesn't vanilla-conquer currently use software rendering?
Well adding shaders don't really change that. We software render a 640x400 image and then post process it on the the hardware with shaders like cnc-ddraw does.
The original game was designed for CRT. There are a bunch of very nice CRT shaders out there, including PC CRT ones.
FunkyFr3sh did some experiments for cnc-ddraw. Here's his shaders package: Lhttps://github.com/CnCNet/cnc-ddraw/issues/55 Here's a list of libretro (retroarch) shaders: https://github.com/libretro/glsl-shaders
Should also investigate stacking multiple shaders, e.g. one upscale shader and a crt shader.