CORS issue.. Signed URL (only in uniforms)
bneigher opened this issue · comments
Very noob question here.. but for some reason when I use the Shader (created Image Saturate component) I'm getting a CORS exception. But the image loads fine in a standard img src. Is there anything specifically that I'm needing here?
I followed this example here:
https://github.com/gre/gl-react/blob/master/packages/cookbook/src/examples/saturation/index.js
Am looking to load a signed url from AWS S3. I believe it has something to do with the way the image url is passed into the uniforms?
Appreciate any guidance
https://webglfundamentals.org/webgl/lessons/webgl-cors-permission.html might help
In theory I already did all the measures to load the image tho.
The issue is closed, is the problem fixed?
Indeed this was the problem. I ended up making the images I need available on the server. It wasn't a webGL problem as I had issues making ajax calls trying to convert to objectUrls.