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.

MeshPhysicalMaterial: Support clearcoatMap, clearcoatRoughnessMap

See original GitHub issue

MeshPhysicalMaterial currently offers:

  • clearcoat
  • clearcoatRoughness
  • clearcoatNormalMap

The glTF extension KHR_materials_clearcoat will also require texture versions of the first two, which I’d propose adding to (only) MeshPhysicalMaterial:

  • clearcoatMap
  • clearcoatRoughnessMap

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:15

github_iconTop GitHub Comments

2reactions
donmccurdycommented, Mar 5, 2020
0reactions
PaulMitchcommented, Aug 25, 2020

Wow adding a map texture with a transform worked great, The clearcoatnormal is now repeating. I was just using a colour as there was no map texture, so making that colour as an 8x8 map and making it a repeating texture worked a treat. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

MeshPhysicalMaterial – three.js docs
Use clear coat related properties to enable multilayer materials that have a thin translucent layer over the base layer. Default is 0.0 ....
Read more >
MeshPhysicalMaterial - Three.js Tutorials - sbcode.net
In this lecture we experiment with the Three.js MeshPhysicalMaterial. It is an extension of the MeshStandardMaterial which gives more reflectivity options.
Read more >
build/three.module.js - Bundle Scanner
DirectGeometry: Faceless geometries are not supported. ... updateMorphTargets() no longer supports THREE. ... clearcoatMap,clearcoatRoughnessMap:!!i.
Read more >
ThreeJS Material - Mesh - TAE - Tutorial
It will cast a shadow on an object that receives shadows (and shadow clipping is supported), but it will not cast or receive...
Read more >
Three.js Click to Move - CodePen
To get the best cross-browser support, it is a common practice to apply vendor ... clearcoatMap clearcoatRoughnessMap clearcoatNormalMap displacementMap ...
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