Changeset 561 for trunk/src/opengl/util/pattern_brush.glsl
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/opengl/util/pattern_brush.glsl
r2 r561 18 18 coords *= inv_brush_texture_size; 19 19 20 coords.y = -coords.y; 21 22 float alpha = texture2D(brush_texture, coords).r; 20 float alpha = 1.0 - texture2D(brush_texture, coords).r; 23 21 24 22 return gl_Color * alpha;
Note:
See TracChangeset
for help on using the changeset viewer.