ChrisMAN Posted October 27, 2012 Share Posted October 27, 2012 Can buffers have transparency? buffer1 = CreateBuffer(50,50, BUFFER_COLOR) SetBuffer(buffer1) SetColor(Vec4(1,0,0,.1)) DrawRect(0,0, 50, 50) SetBuffer(BackBuffer()) while AppTerminate()==0 doDrawImage(GetColorBuffer(buffer1), 400, 300, 50, 50) end The result is a fully red square. Quote Link to comment Share on other sites More sharing options...
ChrisMAN Posted October 27, 2012 Author Share Posted October 27, 2012 SetBlend(1) does the trick http://www.leadwerks.com/werkspace/topic/3394-drawimage-and-transparency/page__hl__transparency Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.