-
Notifications
You must be signed in to change notification settings - Fork 68
Comparing changes
Open a pull request
base repository: DaemonEngine/Daemon
base: 79f19c8bde
head repository: DaemonEngine/Daemon
compare: 79127a50b6
- 10 commits
- 22 files changed
- 2 contributors
Commits on Jan 16, 2025
-
System: use nacl_minidump and nacl_exception headers from libs/, Saig…
…o doesn't ship them unlike PNaCl
Configuration menu - View commit details
-
Copy full SHA for 99739ae - Browse repository at this point
Copy the full SHA 99739aeView commit details -
System: we don't need the nacl_exception header, only the library as …
…a dependency of nacl_minidump
Configuration menu - View commit details
-
Copy full SHA for c1142f0 - Browse repository at this point
Copy the full SHA c1142f0View commit details
Commits on Jan 17, 2025
-
When set to >= 0, the value of this cvar (in milliseconds) will be used for time-based shader effects.
Configuration menu - View commit details
-
Copy full SHA for 0431a67 - Browse repository at this point
Copy the full SHA 0431a67View commit details -
`u_Color` was a vec4 that was being set from a `Color` object, which only has 8-bit precision per colour, so using up 4 times more memory than that to transfer it was quite atrocious. Instead, pack it into a uint32_t, then use `unpackUnorm4x8()` to unpack in the shader. Also adds a macro for unpacking for hardware that doesn't support `GL_ARB_gpu_shader5`.
Configuration menu - View commit details
-
Copy full SHA for d3083cc - Browse repository at this point
Copy the full SHA d3083ccView commit details -
Add a uint version of u_ColorModulate
Add `u_ColorModulateColorGen` for use with shaders other than `cameraEffects`, since the latter can get an arbitrary vec4 for it. All other shaders only use 12 distinct states of `u_ColorModulateColorGen`, encoded as 5 bits. Also adds `u_ColorModulateLightFactor` as a global uniform, to be able to put the `genericMaterial` shader struct into 8 bytes. Fixes an issue with material shader post-processing that was removing global uniforms that had similar names to a non-global one.
Configuration menu - View commit details
-
Copy full SHA for fcdd2b1 - Browse repository at this point
Copy the full SHA fcdd2b1View commit details -
Move the multiplication by tr.mapLightFactor to the generic shader, store it in `u_ColorModulateColorGen`.
Configuration menu - View commit details
-
Copy full SHA for 1d56e7d - Browse repository at this point
Copy the full SHA 1d56e7dView commit details -
Switch lightFactor to use u_ColorModulateColorGen
`tr.mapLightFactor` is already in `u_ColorModulateColorGen` anyway, so there's no need for the extra uniform.
Configuration menu - View commit details
-
Copy full SHA for 8104069 - Browse repository at this point
Copy the full SHA 8104069View commit details -
Fix colorModulate for lightFactor < 4
Also fixes extra bits beng added to the `lightFactor` part `SetUniform_ColorModulateColorGen` in some cases.
Configuration menu - View commit details
-
Copy full SHA for 49b275e - Browse repository at this point
Copy the full SHA 49b275eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad87861 - Browse repository at this point
Copy the full SHA ad87861View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79127a5 - Browse repository at this point
Copy the full SHA 79127a5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 79f19c8bde...79127a50b6