Coder Social home page Coder Social logo

Possible bug with shaders about monksvg HOT 3 CLOSED

gerchicov avatar gerchicov commented on June 10, 2024
Possible bug with shaders

from monksvg.

Comments (3)

micahpearlman avatar micahpearlman commented on June 10, 2024

You have to setup an OpenGL ES 2.0 context. They won't be used in an 1.1 context.

On Feb 11, 2014, at 5:07 AM, gerchicov [email protected] wrote:

Shader files are connected and look like used but with no effect. Check them please.


Reply to this email directly or view it on GitHub.

from monksvg.

gerchicov avatar gerchicov commented on June 10, 2024

Yes, I use OpenGL ES 2.0 and functions for creating and using shaders are called, but I see no changes when I try to choose color or position in .fsh or .vsh files

from monksvg.

micahpearlman avatar micahpearlman commented on June 10, 2024

Which files are you editing? Notice that MonkVG uses a third party library gles2. This library emulates GLES 1.1 in a 2.0 context. Look at the MonkVG/thirdparty/gles2-bc/Sources/OpenGLES/OpenGLES20/shaders directory. This is where all the shaders used my MonkVG in GLES 2.0 contexts are located there. Notice that the original shader files are hex dumped into header files. Look at the "update" script within that directory for how to hex dump the shader files.

from monksvg.

Related Issues (19)

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.