tom-mohr/particle-life-app

More Exciting Shaders ๐ŸŒ 

Opened this issue ยท 2 comments

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.

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!

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.