I have 3 things I want to draw.
I'm drawing them manually in the order I want to give them:
Code: Select all
function love.draw()
sun:draw()
mountain:draw()
blackRectangle:draw()
end
The problem is that I don't want that thing applied to the sun.
Obviously if I'd draw the things in the following way the sun would be bright, but the sun has to be behind the mountain!
Code: Select all
function love.draw()
mountain:draw()
blackRectangle:draw()
sun:draw()
end