Help with an OpenGL sample

About Monkey 2 Forums Monkey 2 Programming Help Help with an OpenGL sample

Tagged: ,

This topic contains 3 replies, has 3 voices, and was last updated by  sicilica 2 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #2123


    Hello, I am trying to port some OpenGL stuff, I have some problems figuring out the API. What I am trying to do is something like this.



    Mark Sibly

    Monkey2 currently only implements GLES2.0, which means you need to create shaders and so on before you can draw anything.

    Also, you can’t yet render directly to OpenGL in mojo – coming soon though.



    OK Thanks.



    To clarify, you at least need a vertex shader and fragment shader. Assuming you just need a simple pass-through shader that does a texture lookup or solid color, I’m sure there are a lot of us here who could help.

    Like Mark says, you also might need to make your own render buffer instead of using mojo’s canvas to get things to play nicely. If you read the last blog post, there should be a GLWindow class soon that can do that for you.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.