Skip to content

Conversation

@onelivesleft
Copy link
Contributor

@onelivesleft onelivesleft commented Sep 19, 2024

Adds a subtle color gradient to background draws, which adds depth to the UI. The gradient is coded in gl.jai, in two shaders.
You can find them by searching for effect_strength in that file: you can either change the value assigned to effect_strength if you'd like it to me more or less subtle, or can change the formula for the gradient if you wish (it's pretty simple, it just mixes the color with another color, generated from the window xy and a passed in scalar)

@onelivesleft
Copy link
Contributor Author

Added gradient_effect color setting; effect_strength is no longer hard-coded.

@focus-editor focus-editor added the kept-for-reference This PR won't be merged but instead will be used as a reference when solving the underlying problem label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kept-for-reference This PR won't be merged but instead will be used as a reference when solving the underlying problem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants