Giter Club home page Giter Club logo

Comments (3)

jorisdejong avatar jorisdejong commented on September 16, 2024

The FFGLShader class assumes you're only doing a basic frag + vert shader. But that class just wraps glCreateProgram and glAttachShader calls, and there's no reason why you can't call those yourself using native OpenGL calls.

from ffgl.

ResolumeMenno avatar ResolumeMenno commented on September 16, 2024

ffgl has no means for the host to inform the plugin about what kind of context is being used. It would be safest if you explicitly specify the glsl version inside your shader. #version 120 is very likely to succeed.
If you want to use a more recent glsl version then you should update this number and be sure to check if compiling/linking the shader succeeded. You would then have to provide a fallback shader for when such functionality is not available.

Resolume 6 uses a 3.2 compatibility context on Windows and a legacy context on OSX. So if you're targetting Windows only and are using Resolume 6 as a host then you can use geometry shaders.

from ffgl.

jorisdejong avatar jorisdejong commented on September 16, 2024

Closing 14 days after Menno dropped knowledge and nobody dares to question anything anymore.

from ffgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.