When I press Launch to preview my scene, the transparent materials appear to be slightly brighter/washed out. In addition, some white pixels (particularly around the blue icon look more pronounced).
The glowing texture sheet was made in Photoshop, and I attached pictures of the material settings.
The other transparent material (to the right of the glowing sprite sheet) has no textures applied. I attached pictures of its material settings as well.
How can I fix these transparent materials so that the Editor and the Launched versions of my scene look identical?
Iām trying to recreate the problem in a brand new project, but the textures are appearing fine in my new project when Launched⦠I then compared the new project and the old one and found the culprit.
The old project has āTransparent Canvasā checked ON under Settings/Rendering, and that causes the color differences when Launched.
In my new project, where Iām trying to re-create the problem, having āTransparent Canvasā checked ON doesnāt make a difference. Editor and Launched versions look identical.
This is a collaborative project with many hands in it, and I hear we need āTransparent Canvasā ON to support AR.
Are there additional settings Iām missing to make sure the transparent items look one-to-one while that feature is onā¦?
Without seeing the project, itās difficult to really be sure. It seems like only the transparent entities are ābrighterā so maybe thereās two of them on top of each other at runtime?
Are you loading scenes/templates at runtime?
Different clear colours on the camera? Different background colour?
Can you fork the project and remove everything but one entity that shows the problem and make that public?
It has the glowing texture and the materialās emission is set to 0. It shows a similar brightness issue as before but⦠not as drastic of a differenceā¦
Found the issue, itās to do with the HTML body background colour. Because itās a transparent canvas, itās āmergingā with the body colour even though you can see it.
I set my transparent materials to Premultiplied Alpha, and it seems to look identical now! I guess thereās something up with my textures. If we run into these issues later with the full build, we will try out the clear color code.
Weāll run with this for now. Thanks for looking into this!