Comments (3)
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.
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.
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)
- Multiple shapes in one path not drawn correctly HOT 4
- Simple straight-line corner-node based polygons don't draw. HOT 2
- Circles drawn with the onPathSCubic are mishapen HOT 1
- Can't Archive and Distribute a test project HOT 2
- Only first child node is parsed for root element HOT 1
- stroke-linecap is not implemented HOT 1
- stroke-linejoin is almost unimplemented HOT 3
- fill="none" is not implemented?
- A simple Line bug? HOT 5
- Circle tag
- Application falls down
- A little bug with path parsing
- Another problem with g tag HOT 1
- text tag is not implemented
- call drawing twice? HOT 3
- Bug with colors in OpenGL ES 2.0 HOT 1
- test project doesn't work
- MAXFLOAT is undefined error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monksvg.