Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add iChannelResolution #16

Closed
rogerallen opened this issue Sep 3, 2013 · 0 comments
Closed

add iChannelResolution #16

rogerallen opened this issue Sep 3, 2013 · 0 comments

Comments

@rogerallen
Copy link
Member

Shadertoy 0.3.1 added this.

uniform vec3 iChannelResolution[4]; // channel resolution (in pixels)

each texture (of 4) has width, height and 1.0 in the vec3
default is 0.0 for w/h/d
cubemap keeps defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant