question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SoftShadows turn MeshStandardMaterial yellow on Pixel 3

See original GitHub issue
Description of the problem

I assume this is a driver bug on the Pixel 3, and it’s probably long-standing; it repros on dev, as well as r112 and r110. I haven’t tried any more versions. Try this fiddle; normally it’s just a white sphere: image But on Pixel 3, specifically with this line enabled: renderer.shadowMap.type = THREE.PCFSoftShadowMap; We get yellow: image

Three.js version
  • Dev
  • r112
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Pixel 3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
elalishcommented, Jan 7, 2020

Honestly, it seems like that softShadow function could be more efficient anyway; I’ll see if I can refactor it and fix this in the process.

0reactions
elalishcommented, Jan 8, 2020

Yeah, that’s what I was thinking too. I’m testing with a different example, but I’m finding if I either remove this line and return either a or b instead, it starts working. Or instead I can fix it by commenting out 3 or more of these lines.

Maybe just hitting some complexity limit that confuses the driver?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change your screen color at night on a Pixel phone
Automatically darken your phone's background & apps · Open your phone's Settings app. · Tap Display and then Dark theme. · Tap Schedule....
Read more >
Yellow tint on Pixel 4a SOLVED! : r/GooglePixel - Reddit
It's not just yellow, its more like washed out. If I kept my phone locked and unused for a few hours, it'll turn...
Read more >
Is the Pixel's display TOO yellow? - YouTube
There have been reports of a " yellow tint" issue on the Pixel 4a, but is it actually true? And does the Pixel...
Read more >
Pixel 3: First 10 Things to Do! - YouTube
This isn't our Google Pixel 3 review, but it will give you the first set of tips and tricks to run through just...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found