Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Unity OpenGL Native Plugin (basic source code)

Discussion in 'Scripting' started by Przemyslaw_Zaworski, Oct 17, 2018.

  1. Przemyslaw_Zaworski

    Przemyslaw_Zaworski

    Joined:
    Jun 9, 2017
    Posts:
    194
    Link to source code in video description.
    Procedural Unity logo generated from external fullscreen GLSL fragment shader.
    Native Plugin *.cpp file has less than 200 lines of code.
    You can insert your own pixel shaders into char* FragmentShader, recompile and play.
    Run editor with -force-opengl option to enable OpenGL core rendering.

     
unityunity