Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to load a shader from outside /data path

$
0
0

@pxt wrote:

Hi!
is a simple question, as the title said:

how can i load a shader from outside the /data path folder? its possible ? when im try to compiled a shader load from another folder (i want one for fragments and another one for vertex s file) this error show:

OpenGL generated error 1282 trying to get the program link status, does your video card support shader programs?

im using ofFile to get the absolutePath. its work fine if the shaders are in the data folder
thanks!
J.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images