EmeraldLockdown
b79cdfda55
Remove those
2026-07-03 01:07:51 -05:00
EmeraldLockdown
f01c589b5c
Update default shaders
2026-07-03 01:07:16 -05:00
EmeraldLockdown
3e0f5ae498
Fix setting array uniforms in anything but opengl
2026-07-03 01:02:30 -05:00
EmeraldLockdown
4c25943f21
Minor improvement by @AgentXLP
2026-07-03 00:06:02 -05:00
EmeraldLockdown
963b9131d9
Finish documentation
2026-07-03 00:02:52 -05:00
EmeraldLockdown
cac1dfc2f9
Fix scissor in metal
2026-07-02 21:55:03 -05:00
EmeraldLockdown
4477fd7c4f
Make frame pass viewport system much simpler, fixup scaling with viewports
2026-07-02 17:22:47 -05:00
EmeraldLockdown
ae3de517da
Stricter sanitization, fix default lua shader
2026-07-02 16:32:46 -05:00
EmeraldLockdown
0297041d86
Update default lua shader
2026-07-02 16:24:12 -05:00
EmeraldLockdown
2fa69bf576
Add some lua functions for render api, add legacy func to render api, make opengl versions < 4.5 legacy GL
2026-07-02 16:17:56 -05:00
EmeraldLockdown
d9f29f8f2d
Add inverse matrices
2026-07-02 15:39:43 -05:00
EmeraldLockdown
f0a26feb5e
Fps go brrr
2026-07-02 14:57:07 -05:00
EmeraldLockdown
26f28485f1
More optimization
2026-07-02 11:58:15 -05:00
EmeraldLockdown
e4160e48a7
Optimization
...
Opengl remains unchanged for the most part regarding fps, metal received a 200fps boost
There is a bug with djui text. It only happens when using the cpu provided aClipPos, so something is wrong with one of the calcs
2026-07-02 11:41:45 -05:00
EmeraldLockdown
eb715a8902
Add clip pos as a vbo
2026-07-02 03:01:33 -05:00
EmeraldLockdown
13b593ac4a
Fix setting array uniforms
2026-07-02 02:54:14 -05:00
EmeraldLockdown
a712cf1660
fix macos text nonsense
2026-07-02 02:53:18 -05:00
EmeraldLockdown
21d3c023a3
Fix cli opts
2026-07-02 02:51:22 -05:00
Agent X
9117a58bff
Fix faulty(?) check in shader cache lookup causing slight fps decrease
2026-07-01 18:08:12 -04:00
EmeraldLockdown
0f7e7d7744
Fix culling in metal, do a hotfix on flickering in metal
2026-07-01 13:20:47 -05:00
EmeraldLockdown
340a5bdff0
Have mercy on me for this horrible code 🙏
2026-07-01 11:02:08 -05:00
EmeraldLockdown
100b0fd27e
Make text input not bind on init
...
still doesnt fix the issue im having with macos and text tho :(
2026-07-01 10:14:30 -05:00
EmeraldLoc
4ca5c3ca97
Write out some of the dev progress in shaders.md (terrible place to write)
2026-07-01 09:40:38 -05:00
EmeraldLockdown
4b67de0769
This still isn't working right
...
Depth comparison is still wrong on metal, probably a one liner somewhere/a configuration option
2026-07-01 09:27:02 -05:00
EmeraldLoc
8f10830410
Fix matrices yet again lol, also fix windows comp
2026-07-01 09:22:04 -05:00
EmeraldLockdown
7dd724021b
Back to windows
2026-07-01 08:29:09 -05:00
EmeraldLockdown
e4b89afaa1
Stop logging msl shader code
2026-07-01 01:15:12 -05:00
EmeraldLockdown
0be198af89
Actually add metal files
2026-07-01 01:09:46 -05:00
EmeraldLockdown
073e38189b
Add metal render api
2026-07-01 01:06:11 -05:00
EmeraldLockdown
8f27c6614c
Get shaders up and running again
2026-06-30 09:53:31 -05:00
EmeraldLoc
79661cd3cd
Tidy up multipass shaders
...
There is a doulbe free bug somewhere here but need to move to macos for debugging
2026-06-30 08:22:40 -05:00
EmeraldLoc
e91e2157b2
Fix pass textures
2026-06-20 21:14:54 -05:00
EmeraldLoc
2b9b65fe94
Fix matrices
2026-06-20 20:29:32 -05:00
EmeraldLoc
b272a5421a
Update default shader, update some constant names to not be rubbish
2026-06-20 17:23:16 -05:00
EmeraldLoc
a308d8ac4d
ugh, none of those micro optimizations did anything
2026-06-20 15:42:57 -05:00
EmeraldLoc
b6aa182c88
Actual micro optimizations bro
...
im so cooked
2026-06-20 15:24:39 -05:00
EmeraldLoc
6c4cdfab64
remove some logging
2026-06-20 00:36:08 -05:00
EmeraldLoc
36ce238769
Only do fog calcs when necessary
2026-06-20 00:33:42 -05:00
EmeraldLoc
a460d5d38c
Optimize and fix uniforms in opengl
2026-06-20 00:13:12 -05:00
EmeraldLoc
932386b674
Cache uniform locations
2026-06-19 22:30:55 -05:00
EmeraldLoc
afc2bcc934
Fix uniforms overriding eachother
2026-06-20 01:34:02 -05:00
EmeraldLoc
477c197d9b
Fix hud in directx
2026-06-20 01:33:16 -05:00
EmeraldLoc
7593d0d2a5
fix directx cullin ig
2026-06-20 00:55:01 -05:00
EmeraldLoc
69a03c5cce
Move matrices, fog, and more to shader
2026-06-19 19:39:13 -05:00
EmeraldLoc
82360f44d9
Get first done
2026-06-19 16:08:44 -05:00
EmeraldLockdown
450a72e7c4
YOU SUCK WINDOWS
2026-06-19 14:26:17 -05:00
EmeraldLoc
14cd303dfd
This is the technically correct layout, lets see what windows has to say about it
2026-06-19 13:54:16 -05:00
EmeraldLockdown
afffc91744
Let me just..... undo that rq
2026-06-19 13:48:38 -05:00
EmeraldLockdown
9f0ef9da5b
Does this happen on linux?!?!?
2026-06-19 13:46:16 -05:00
EmeraldLoc
258225d97f
"fix" opengl uniforms
...
Should have spirv still get each uniform and add the uniforms name, size, and loc and still use the loc for opengl
The reason I dont want to have it use the name is because then there can be inconsistent results between opengl and directx
2026-06-19 18:28:25 -05:00