Skip to content

Add realtime settings :) - #3463

Merged
IMS212 merged 5 commits into
IrisShaders:26.3-newfrom
SpacEagle17:realtime-settings
Nov 17, 2026
Merged

IMS212 merged 5 commits into
IrisShaders:26.3-newfrom
SpacEagle17:realtime-settings

Conversation

@SpacEagle17

@SpacEagle17 SpacEagle17 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Yes. You read this correctly!
This uses my uniform idea I had about 2 years ago to convert shader options into uniforms. But only if the shader dev explicitly marked those options as real-time to avoid any issues.

To do that add a new file called realtime.properties inside the /shaders folder next to your shaders.properties, block.properties and so on where you usually find that stuff

In that file, mark any settings define you have as real-time by doing name=type per line.
Allowed types are: int, float, bool. By bool it's not #ifdef but literally #define OPTION true //[true false] (I use that in Euphoria Patches in a few places)

An example for a realtime.properties file:

WB_DOF_I=float
BLOOM_STRENGTH=float
CLOUD_TRANSPARENCY=float
EMISSION_MULTIPLIER=float
BORDER_FOG_DISTANCE_OVERWORLD=int
ATM_FOG_ALTITUDE=int
SCANLINE_NEW_MONOCHROME=bool

And finally, a video showcasing it in action!

2026-11-06.16-54-47.mp4

@SpacEagle17

SpacEagle17 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor Author

From the commit above. GUI, except the current option is hidden, so you see what you change.
This was done from feedback. A semi-transparent verison was also tested but seemed to be worse.
Here you can at least see the real-time change. Still not the best UI but good enough for this imho

2026-11-06.21-15-22.mp4

@SpacEagle17

Copy link
Copy Markdown
Contributor Author

If merged, probably best to squash during the merge

@IMS212
IMS212 merged commit 8ebd1c2 into IrisShaders:26.3-new Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants