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
In the v2 of the ISF spec (https://github.com/mrRay/ISF_Spec/), there was a new special function added that made it possible to get the size of a provided input image or render pass.
imageSize = IMG_SIZE( imageName);
returns a two-element vector describing the size of the image in pixels.
interesting, its a little tricky, i don't think we've done this kind of input-based-source-rewriting but it shouldn't be too difficult. i'll take a look tomorrow!
In the v2 of the ISF spec (https://github.com/mrRay/ISF_Spec/), there was a new special function added that made it possible to get the size of a provided input image or render pass.
imageSize = IMG_SIZE( imageName);
returns a two-element vector describing the size of the image in pixels.
eg ln 100 in https://www.interactiveshaderformat.com/sketches/2810
The text was updated successfully, but these errors were encountered: