From 0b743b90752bacf31923171af9af0e5ff1f08095 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 27 Jul 2022 09:18:13 -0500 Subject: [add] alpha support to image class --- examples/02-image-transforms-and-events.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/02-image-transforms-and-events.lisp') diff --git a/examples/02-image-transforms-and-events.lisp b/examples/02-image-transforms-and-events.lisp index edc9000..9e4710f 100644 --- a/examples/02-image-transforms-and-events.lisp +++ b/examples/02-image-transforms-and-events.lisp @@ -106,7 +106,8 @@ :texture (ww::get-asset "Fezghoul.png"))) (bm2 (make-instance 'ww::image - :texture (ww::get-asset "GelatinousCube.png")))) + :texture (ww::get-asset "GelatinousCube.png") + :alpha 0.5))) (ww::add-handler app #'wheelie) -- cgit v1.2.3