Eyeon Talk:Script/Reference/Applications/Fuse/ViewShader Reference Manual

From VFXPedia

Jump to: navigation, search

SetupShader() is duplicated in the event callbacks list.

Noticed in some of the viewshader examples, f.TexCoord2 is used, and in others f.TexCoord1. Assuming f.TexCoord1 is the normal image coordinates, what is f.TexCoord2? --Chad 13:01, 10 June 2010 (EDT)

Fixed the duplicate, thanks. f is a FuPixel, f.TexCoord0 is pixel coords, f.TexCoord1 is normalised coords, and f.TexCoord2 is screen coords, for screen-space effects like transparency checkers or zebra stripes. --Daniel