Deferred rendering is not supported.
Luna targets WebGL 1 API, which often lacks the appropriate extension to support multiple framebuffer attachments. Because of this limitation, it is impossible to support to Deferred rendering path.
There are two options to fix the issue:
- Switch cameras' rendering path to "Forward" instead of "Deferred". This can be done by changing Camera components' settings in Inspector panel:
- Switch default rendering path to "Forward" under "Graphics" project settings if your cameras have "Use Graphics Settings" under their "Rendering path" property. This can be done by navigating to
Edit > Project Settings > Graphicsin main Unity menu:
You can use a separate build target (i.e. WebGL) to amend the default rendering path if your cameras have "Use Graphics Settings" under their "Rendering path" property and switching the project globally is undesirable. In order to do this, please switch to WebGL build target before running the export.