Use shader for sprite floorclip fix when shaders enabled + fix papersprites being afffected by it #143
Closed
alufolie91 wants to merge 9 commits from
shaderspriteclip into Saturn-Next
pull from: shaderspriteclip
merge into: saturn:Saturn-Next
saturn:Saturn-Next
saturn:lugstuff
saturn:retrySOCK
saturn:polyholes
saturn:dynskins
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: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.
What it says in title.
This basically uses a Shader "fix" when you have shaders enabled instead of doing a bunch of maths and directly changing sprite polygon vertices on your CPU lul
Shaders off will behave the same as before.
Also fixes papersprites being affected by the clipfix which they shouldnt (was the cause of papersprite signs z-fighting lol)
plus some refactoring
turns out the shader is slow as hell kek
redid just the refactor part without the shader in diff branch, since it looks a bit cleaner
Pull request closed