gre / gl-react

gl-react – React library to write and compose WebGL shaders

Home Page:https://gl-react-cookbook.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

console.warn uniform 'ratio' is not declared, nor used, in your shader code

belgattitude opened this issue · comments

Hey @gre.

Very inspiring work you're doing !

I found an issue using gl-transitions, they're not always declaring the ratio uniform, which leads to a tons of console.warn.

You can see them appearing on the console, simply open : https://gl-react-cookbook.surge.sh/transitions or https://gl-transitions.com.

The corresponding line is:

This is quite annoying while testing the transitions.

Not enough acquainted to the lib to P/R something, but if you have advices or a direction I could gladly contribute.

will be fixed in next release