Menu

GLSL Shader usage with GLScene

Help
Ronald
2020-10-29
2020-11-06
  • Ronald

    Ronald - 2020-10-29

    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

     
  • Jerome.D (BeanzMaster)

    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

     
  • Ronald

    Ronald - 2020-11-06

    Hi Jerome, any news on this? Anything I can try or do? Regards, Ronald

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.