Login  Register

Re: I am New To GLSL C OpenGL Shader program

Posted by elect on Feb 09, 2016; 3:59pm
URL: https://forum.jogamp.org/I-am-New-To-GLSL-C-OpenGL-Shader-program-tp4036135p4036137.html

Hi ElvJOGL and welcome :)

unfortunately there are many outdated jogl samples around

the superbible 6 edition is quite good, although is not the last one, it should already cover opengl 4 as far as they say

if you want something fast and quick, copy and paste this hello triangle sample, add jogl as library and you are good to go.

You can learn modern opengl by studing the bible and at the same time trying to apply the sample shown there on jogl by yourself (actually one of the best way to learn), you may want to use the helloTriangle as base to start from, or you can also take a look to the jogl-samples, a port I made of g-truc ogl-sample