Artifacts on certain Adreno GPUs


I’m Gustav and work for the PlayCanvas team at Snap Inc. We have a shader that might be of interest to look at, which causes some interest artifacts on certain Adreno powered devices.

I have taken some time to debug it, and it seems the shader skips over a condition that should be triggered by a uniform, and proceeds to evaluate the lighting despite there being no lights. Disabling our clustered lighting code (which shouldn’t trigger at all in these cases) fixes the problem.

The following image is taken by a Galaxy A52.

The result should be this:

The code is open source and can be found here if inspection is needed: GitHub - playcanvas/engine: Fast and lightweight JavaScript game engine built on WebGL and glTF. The problem is in the clusteredLights.js shader template file.

You can also reproduce this issue easily following this link to one of our engine examples: PlayCanvas Examples


Thank you for participating in the Samsung Developer Forum. However, this forum is for 3rd party developer issues.

Samsung’s mobile developers do not follow this board to prevent any potential dispute or misunderstanding as to the similarity between Unsolicited Submissions and our internally and independently developed products, technology and services.

I would recommend you use the Samsung Members App for feedback it has agreements for suggestions
go to and depending on your location
either → Click on Explore Tab → Click on Community
Scroll all the way down to the bottom of the page and under support is a link to the community

Because end user questions disrupt developer discussion this thread will be removed.

Samsung Developer Community

Hello @r.liechty_SDP

Not sure I can find the link you are asking me to look for. neither has a Community or Support tab for my location (UK). Would it be possible to provide a direct link to that forum?


When you click on the base link it should open Samsung UK | Mobile | Home Electronics | Home Appliances | TV unless you have a non UK IP address. Click on Support upper right side menu has a short cut to Ask the Community and you can sign in or join from that pages.

Hope that helps.

Samsung Developer Relations