Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Exciting Shaders 馃尃 #15

Open
DipsoNOR opened this issue Feb 8, 2023 · 2 comments
Open

More Exciting Shaders 馃尃 #15

DipsoNOR opened this issue Feb 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@DipsoNOR
Copy link

DipsoNOR commented Feb 8, 2023

Like the glow effect in Toms video, or other spicy effects that can either be used for better visualization of concepts or just to make awesome visuals.

@DipsoNOR
Copy link
Author

DipsoNOR commented Feb 8, 2023

Quote from Tom on the discord:

Glowing effects is post processing, yes. Could be implemented with additional shaders. If someone knows how to code a shader like this, it's easy to just add the corresponding fragment shader to the program (just add the shader file to resources/shaders and register a new shader in ShaderProvider.java so that it can be selected from the dropdown in the GUI). Would greatly appreciate pull requests with more interesting shaders!

@tom-mohr tom-mohr added the enhancement New feature or request label Feb 8, 2023
@tom-mohr tom-mohr changed the title More exiting Shaders More Exciting Shaders 馃尃 Feb 13, 2023
@tom-mohr
Copy link
Owner

Adding shaders is even easier now. You don't have to touch any Java code anymore. Simply follow these steps:

  • Create one or more shader files with GLSL code inside src/main/resources/shaders.
  • Register your shader by editing the content of shaders.yaml.
    Then run the app and select your shader from the dropdown in the GUI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants