does anyone have any experience /knowledge doing component wise operations?
mul ft0, ft6.x, fc0.x
Does this put the result into ft0.r, .g, .b, .a? Code like this compiles, but I’m not sure what it does.
AGAL component-wise usage questionsSoftware: Away3D 4.x |
||
Stephen Hopkins, Sr. Member
Posted: 12 August 2011 12:55 AM Total Posts: 110 does anyone have any experience /knowledge doing component wise operations? mul ft0, ft6.x, fc0.x Does this put the result into ft0.r, .g, .b, .a? Code like this compiles, but I’m not sure what it does. |
||
Alexander Seifert, Moderator
Posted: 12 August 2011 08:03 AM Total Posts: 129 [ # 1 ] You are correct, Shader languages typically allow any kind of component access and they will always compile gracefully. E.g, (Please correct me if I’m wrong ) |