Shader based screen effects for OpenGL #231
Open
alufolie91
wants to merge 10 commits from
shadercrap into Saturn-Next
pull from: shadercrap
merge into: saturn:Saturn-Next
saturn:Saturn-Next
saturn:newfpscapper
saturn:lugstuff
saturn:retrySOCK
saturn:dynskins
saturn:remove-lua-udata-lib
saturn:polyholes
saturn:Saturn
saturn:mobjcheck
saturn:waterrefract
saturn:bluaopti3
saturn:lua-no-zzone
saturn:mac-ci-test
saturn:luaprofile
saturn:introsfxshit
saturn:mointerpfix
saturn:maperrors2
saturn:maperrors
saturn:testintermissionfix
saturn:optifindvar
saturn:holeywallcolumns
saturn:Saturn-Testing
saturn:addon-download-info
saturn:hwbspupdate
saturn:bluaopti2
saturn:optimizewadlumps
saturn:netstuff
saturn:bluaopti
saturn:newfpscap
saturn:vidmodestuff
saturn:fixedclamp
saturn:threadstuff
saturn:servaddonsonly
saturn:timestuff
saturn:fixcmake2
saturn:crashissuereports
saturn:mipmaplistopti
saturn:menumodels
saturn:fixceemake
saturn:sdl3
saturn:remove-unused-mobj-interp-vars
saturn:revertsdl
saturn:updatesdl2again
saturn:controllerfixes
saturn:fakeseed
saturn:gammastuff
saturn:fastcmpstuff
saturn:luacvarfixes
saturn:SOCKma
saturn:lua-check-local-addon
saturn:updatemixer
saturn:dsdacol
saturn:transposesoft
saturn:updatelibbacktrace
saturn:deletglseg
saturn:curl-cli-args
saturn:refactorfbo
saturn:servericonpack
saturn:fastfilesearch
saturn:ljtest2
saturn:optional-freeslot-test
saturn:updatemd5
saturn:texhash
saturn:winzlib-ng
saturn:mmenucleanup
saturn:fixgnu23
saturn:unnestmothink
saturn:fixupnet
saturn:fixuphwbsp
saturn:updatewinlibs
saturn:emotes
saturn:softwarecrap
saturn:newmakefiles
saturn:luamusicdef
saturn:votebgstuff
saturn:netshit3
saturn:directionallight
saturn:ljtest
saturn:splitscreendirector
saturn:shaderspriteclip
saturn:refactorportals
saturn:nomobjshadows
saturn:sfc32rand
saturn:nettest2
saturn:nettest1
saturn:neo-kart
saturn:addfilelocal-load-animdefs
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
good enough to merge tbh
this adds shader based versions of the Underwater, Heatwave and VHS screen effects, when shaders are enabled ingame
Those are quite a bit faster (esp the vhs effect!) due to not needing a gazillion drawcalls anymore and also dont have weird scaling behavior like the others, iirc they look effectively the same at any resolution and aspect ratio
One thing of note, unlike the old fixed function versions, those do not zoom into the image (which was somewhat distracting lul) caveat is just that they now suffer from very minor "stretching" at the borders (so does softwares underwater effect aswell btw)
Underwater has been tweaked to more closely match software at default res (1280x800), heatwave is still a modified underwater wave effect but readjusted
The VHS effect has been completely tuned to basically look identical to software at default res (it now finally does things like reading pixels from the opposite screen site like software does)
In the future this should make splitscreen compat easier to implement but not feeling like it atm, also planned is to try and port softwares heatshifter effect to glsl aswell at some point
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.