Skip to content

Examples: Issues with webgl_materials_nodes #20511

@Mugen87

Description

@Mugen87

Describe the bug

It seems there are two issue with webgl_materials_nodes:

  1. The following warning is logged in the browser console:

THREE.WebGLProgram: Unsupported encoding: undefined

2. The preset basic / physical has a broken shader.

> ERROR: 0:924: 'clearcoatNormal' : undeclared identifier

To Reproduce

Steps to reproduce the behavior:

  1. https://threejs.org/examples/webgl_materials_nodes
  2. Open the browser console.

Platform:

  • Device: [Desktop, Mobile]
  • OS: [Windows, MacOS, Linux, Android, iOS]
  • Browser: [Chrome, Firefox, Safari, Edge]
  • Three.js version: [dev, r121]

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions