kylemcdonald / ofxblur Goto Github PK
View Code? Open in Web Editor NEWA very fast, configurable GPU blur addon that can also simulate bloom and different kernel shapes.
A very fast, configurable GPU blur addon that can also simulate bloom and different kernel shapes.
Hi Kyle,
I loaded the example, and get these errors when I try to compile:
[ error ] ofShader: setupShaderFromSource(): GL_FRAGMENT_SHADER shader failed to compile
[ error ] ofShader: GL_FRAGMENT_SHADER shader reports:
ERROR: 0:1: '' : #version required and missing.
[ error ] ofShader: linkProgram(): trying to link GLSL program, but no shaders created yet
I'm using ofSketch 0.4, and running OS X 10.10. Let me know if I can provide more information.
Miles
I suspect there is a conflict with using this plus the newer ofGLWindow renderer? My main.cpp is
ofGLWindowSettings settings;
settings.setGLVersion(3,2);
ofCreateWindow(settings);
ofSetWindowShape(1920, 1080);
This is what I get as an error:
[ error ] ofShader: setupShaderFromSource(): GL_FRAGMENT_SHADER shader failed to compile
[ error ] ofShader: GL_FRAGMENT_SHADER shader reports:
ERROR: 0:1: '' : version '120' is not supported
ERROR: 0:2: '' : #version required and missing.
WARNING: 0:2: extension 'GL_ARB_texture_rectangle' is not supported
[ error ] ofShader: GL_FRAGMENT_SHADER, offending line 1 :
1 #version 120
2 #extension GL_ARB_texture_rectangle : enable
3 uniform sampler2DRect source;
[ error ] ofShader: checkProgramLinkStatus(): program failed to link
[ error ] ofShader: ofShader: program reports:
ERROR: One or more attached shaders not successfully compiled
[ error ] ofShader: setupShaderFromSource(): GL_FRAGMENT_SHADER shader failed to compile
[ error ] ofShader: GL_FRAGMENT_SHADER shader reports:
ERROR: 0:1: '' : version '120' is not supported
ERROR: 0:2: '' : #version required and missing.
WARNING: 0:2: extension 'GL_ARB_texture_rectangle' is not supported
[ error ] ofShader: GL_FRAGMENT_SHADER, offending line 1 :
1 #version 120
2 #extension GL_ARB_texture_rectangle : enable
3 uniform sampler2DRect s0,s1,s2,s3,s4;
[ error ] ofShader: checkProgramLinkStatus(): program failed to link
[ error ] ofShader: ofShader: program reports:
ERROR: One or more attached shaders not successfully compiled"
Hey,
I get a regex_error
at this line on Ubuntu 14.10 64bit:
blurShader.setupShaderFromSource(GL_FRAGMENT_SHADER, blurSource);
Thank you for any help! What can I do to get more information about this error?
Deborah
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.