Accessibility
Adobe
Sign in Privacy My Adobe

Pixel Bender Fills

Adobe Exchange: The new way to discover and install plug-ins, extensions and content for the Creative Suite. Get it now

Triangle Gradient

By IlluminatiBG July 12, 2010
252 Downloads

Rating = 21 votes


Triangle Gradient

Fill shader that does gradient filling of three vertices (XY point) used in triangle. The shader get six parameter - three of type float2 for vertices coords and three of type float4 for vertices colors (colors are RGBA which means one or more vertex can be transparent). The shader also cares for additional alpha transparence of the edges of triangle so the sides of the triangle does no appear rough.

SUPPORT INFORMATION
If you encounter any bugs or problems mail to Illuminate1989@gmail.com

Download

License: Freeware
Cost: Free
Platform: Flash Player 10
File format: ZIP | 2.8 KB

Additional extension information

Author: IlluminatiBG
Author website: Not available
Date published: July 12, 2010
Approval: None
Compatible product(s): Pixel Bender 1.0

Reviews

1-2 of 2 reviews | Show all reviews


chiYeung 03-Oct-10 Rating = 2

I was not able to get this working well.
So Here is my implementation using a weight function as described last and another with a 3x3 matrix.

http://www.ctyeung.com/flex/TriangleGradient/TestDrawTriangles.html

chiYeung 15-Aug-10 Rating = 1

Shouldn't the proportion of color mixture be distance of point to line ? rather than distance of point to point ?

Add a review

(+) Please log in to submit a review