-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is using chromasep clears background to black color? #33
Comments
I am not sure I understand the problem. Can you give some example code where this issue happens? |
This: local moonshine = require("moonshine")
local effect = moonshine.chain(moonshine.effects.chromasep)
function love.load()
love.graphics.setBackgroundColor(104, 136, 248)
end
function love.update(dt)
end
function love.draw()
effect(function()
love.graphics.circle("fill", 30, 30, 65)
end)
end results in clearing the background to the black color: And without chromasep: local moonshine = require("moonshine")
local effect = moonshine.chain(moonshine.effects.chromasep)
function love.load()
love.graphics.setBackgroundColor(104, 136, 248)
end
function love.update(dt)
end
function love.draw()
-- effect(function()
love.graphics.circle("fill", 30, 30, 65)
-- end)
end |
Should be fixed. Thanks for reporting! |
@vrld thank you too for the response & fix :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why is using chromasep clears background to black color? I wanted to add it to my chain but found that it clears the background and I can't reset it back to my color.
The text was updated successfully, but these errors were encountered: