blob: b372b3aaad1ce762e2483d3c717a6526955b448e [file] [log] [blame]
struct Attributes {
float2 position;
float4 src;
float4 dst;
};
struct Varyings {
float2 position;
float4 color;
};
uniform blender myBlender;
Varyings main(const Attributes attr) {
return Varyings(attr.position, myBlender.eval(attr.src, attr.dst));
}
/*%%*
effects are not permitted in mesh vertex shaders
*%%*/