0 votes

I've run into a strange lighting issue and I haven't been able to find anything similar in the questions so far, but please let me know if it's a repeat.

Firstly, following the lighting tutorial as best I can, I've got a CanvasModulate and several Light2D in Mix mode in a scene in order to get the look you see here:
World Scene
Which works fine by itself.

My main game scene then displays that scene within a Viewport in order to maintain specific pixel perfect scaling as well as paste a GUI on top of it.
MainGameScene Setup
The issue is that the background image I'm using to fill space around the Viewport is showing through where the lights are and I'm not sure what's causing it. It's probably just a setting I'm missing or something I don't understand about the way Viewports or Light2Ds work.
Transparency Issue
Any help would be greatly appreciated! Thanks in advance!

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.