JMS55
JMS55
I did some research on detecting light/dark mode on linux. Basically, you have to get the current theme, and see if it ends in `-dark` (just a convention, I'm sure...
Here's my proposal for how to determine light/dark (And I agree the event should always be sent on startup): * Windows: Continue with whatever winit is already doing I assume,...
I've just found out about https://github.com/elementary/os/wiki/Dark-Style-Preference, which looks like it would be perfect. Desktops set prefers dark/light, and then apps get notified when it changes, and choose whether to render...
An update on this: * Windows 10+: Check the registry key `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\AppsUseLightTheme`. * macOS Mojave+: Check `NSApplication.effectiveAppearance.Name` for the substring `dark`. * Linux (gnome 42+, elementary os 6+, eventually KDE):...
> Can we have the API to force a dark/light mode from application itself? Or even better a way to provide own colours for decoration. I assume you're talking about...
This will need some thinking on how it interacts with Virtual Geometry and Solari, which rely on hardcoded vertex formats.
Some quick drive by thoughts: * f16 UVs are definitely dangerous. We should probably avoid enabling that one by default. * f16 positions would be great to have. I'd like...
The reason I suggest f16 is that it's one of the few supported BLAS formats for raytracing https://github.com/Vecvec/wgpu/blob/3e9ede6c38012d6c134e1ced689ded2f58dec49f/wgpu-types/src/features.rs#L1497-L1501, and it has pretty significant improvements over f32 https://zeux.io/2025/03/31/measuring-acceleration-structures/
This deserves a thorough review by me, but I unfortunately won't have time for the next while due to work. Apologies - it's something I'm definitely excited to land though!
> I am not familiar with the difficulty of doing so, but I would strongly prefer if GI lighting could be an option --- perhaps at very low quality ---...