DooMAGE Posted December 15, 2016 Share Posted December 15, 2016 When I drawn a image to fill the screen with: context:DrawImage(self.overlayTexture,0,0,context:GetWidth(),context:GetHeight()) and later stop drawing, you can still see a red little line of the overlay that I drawed in the botton of the screen, it's distracting :/ How can I properly clean the screen after a context:DrawImage ? I tried with: self.overlayTexture:Release() context:SetBlendMode(1) context:SetColor(1,1,1,1) context:Clear() No deal. EDIT: This only happens when I use a Posteffects :/ Quote My Leadwerks games! https://ragingmages.itch.io/ Link to comment Share on other sites More sharing options...
thehankinator Posted December 15, 2016 Share Posted December 15, 2016 Just curious, what happens if you subtract 1 from context:GetHeight()? Or more? context:DrawImage(self.overlayTexture,0,0,context:GetWidth(),context:GetHeight()-1) 1 Quote Link to comment Share on other sites More sharing options...
DooMAGE Posted December 15, 2016 Author Share Posted December 15, 2016 Just curious, what happens if you subtract 1 from context:GetHeight()? Or more? context:DrawImage(self.overlayTexture,0,0,context:GetWidth(),context:GetHeight()-1) Yeah, this does the trick, looks like the render don't like that we fill 100% of the screen, the shaders don't update the last few pixels of the screen height. Thanks. Quote My Leadwerks games! https://ragingmages.itch.io/ Link to comment Share on other sites More sharing options...
thehankinator Posted December 15, 2016 Share Posted December 15, 2016 Yeah, this does the trick, looks like the render don't like that we fill 100% of the screen, the shaders don't update the last few pixels of the screen height. Thanks. Glad it works. Seems like a bug to me though. Maybe Josh will weigh in, if not it's worth a bug report imo. Quote Link to comment Share on other sites More sharing options...
Josh Posted December 15, 2016 Share Posted December 15, 2016 It is a bug. Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.