I am trying to use the code from this project in GLScene. It is designed to use GLSL version 400. I am able to create 3D volume texture and 1D color mapping texture, I am able to load shader programs, but I do not understand how to continue.
Should I add a TGLDirectOpenGL object to the scene and call TGLSLShader.Apply in OnRender? Or is this supposed to be done in another way?
Regards, Ronald
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Ronald the problem actually with GLScene OpenGL CORE is not fully supported. So first you need to translate GLSL v400 to GLSL v200. After on how to uses is the same way as the sample.
I'll have more time in two next week. I'll take a look to make a sample
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to use the code from this project in GLScene. It is designed to use GLSL version 400. I am able to create 3D volume texture and 1D color mapping texture, I am able to load shader programs, but I do not understand how to continue.
Should I add a TGLDirectOpenGL object to the scene and call TGLSLShader.Apply in OnRender? Or is this supposed to be done in another way?
Regards, Ronald
Hi Ronald the problem actually with GLScene OpenGL CORE is not fully supported. So first you need to translate GLSL v400 to GLSL v200. After on how to uses is the same way as the sample.
I'll have more time in two next week. I'll take a look to make a sample
Cheers
Hi Jerome, any news on this? Anything I can try or do? Regards, Ronald