Archived
1
Fork 0
Commit graph

11 commits

Author SHA1 Message Date
3229c4fa2c Another big WebGPU compatibility patch
All specialization constants are removed (they cause trouble in
WebGPU, since they don't support array sizing, and it was a pain
in Metal anyway) - they are now macro defined. WebGPU now runs, although
push constant emulation is not implemented yet.
2022-03-07 00:33:44 -05:00
a0d92be759 Start to separate combined image samplers
This is to be in line with requirements from HLSL/DX12 and WebGPU,
both of which do not support this. It's probably better to get
started removing our usage of them now :-)
2022-03-06 22:45:08 -05:00
6926980f70 Removing some unnecessary std430's from push constant blocks 2022-02-20 22:51:23 -05:00
87a81111eb Use proper 3d poission samples for point lights 2022-02-15 09:01:35 -05:00
833046aed0 Remove old shader files 2022-02-08 09:33:18 -05:00
2c75d51278 Add parameters for metallic and roughness back
This also makes them modifiable in the debug menu at runtime
2022-02-08 08:50:10 -05:00
78078e92cd Fix multiple point light shadows on Vulkan
Light locations had to be padded properly, that ended up being the ultimate fix. Leading to this bug though I ended up patching a lot of stuff that was mysteriously missing from the Vulkan backend like specialization constants and
2022-02-07 18:36:23 -05:00
ea93df18dd Remove all push constant binding declarations
This was a leftover from sharing GLSL with Metal and OpenGL, this is now a warning with modern SPIR-V compilers anyway.
2022-02-07 10:11:19 -05:00
redstrate
dba0541376 Fix BRDF integration
* I guess I changed this somehow and never fixed it??
2021-05-11 14:34:31 -04:00
redstrate
eb32b03de3 Remove weird files in shader directory 2021-05-09 20:05:28 -04:00
redstrate
f963da80f3 Add shaders back (sorry) 2021-05-09 20:04:41 -04:00