Added: 1 year ago
From: DemoscenePassivist
Views: 132
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • How do you implement shaders in jogl? Or is this without a shader?

  • @superkellerman8D The fragment and vertex shaders are written in OpenGL-Shading-Language (GLSL). For the setup code (shader compile/upload/uniforms etc.) I'm using JOGL as my OpenGL to Java API binding.

  • @DemoscenePassivist I completely understand that, i am using jogl and glsl too. What i want to know is how to get the glsl shader into jogl, like how to load it and use it in my code.

  • @superkellerman8D U can take a look at my github repository for the jogl shader load/compile/setup code: github.com/demoscenepassivist/­SocialCoding/blob/master/code_­demos_jogamp/src/jogamp/routin­e/jogl/programmablepipeline/GL­3_ShadowMapping.java

  • @DemoscenePassivist thank you, but what are these BaseRoutine Classes?

  • @superkellerman8D the BaseRoutine class is part of a framework used to run the different 'routines' I implement with jogl. The framework classes handle the setup/initialization/configura­tion of the GLCanvas as well as some basic JOGL setup. The source for these classes can be as well found on my github repository: github.com/demoscenepassivist/­SocialCoding/tree/master/code_­demos_jogamp/src/framework/bas­e

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more