You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SampleFilter.js included in the filters directory says in the comments,
By default the following uniforms are already created and available:
...
uniform vec3 resolution - The dimensions of the filter. Can be set via setSize(width, height)
Actually I've found it must be declared as uniform vec2 or else errors ensue. You can see in the Fire.js filter example that it's a vec2.
The text was updated successfully, but these errors were encountered:
The SampleFilter.js included in the filters directory says in the comments,
Actually I've found it must be declared as uniform vec2 or else errors ensue. You can see in the Fire.js filter example that it's a vec2.
The text was updated successfully, but these errors were encountered: