Skip to content

Cannot see edges on three.js version 183 and above #730

@CabeDigicorp

Description

@CabeDigicorp

Describe the bug 📝

I have configured postproduction so that I can switch on/off edge visualization:
world.renderer.postproduction.style = OBCF.PostproductionAspect.COLOR_SHADOWS
or
world.renderer.postproduction.style = OBCF.PostproductionAspect.COLOR_PEN_SHADOWS
The latter does not work on three.js version 0.183. and above - nothing happens in the 3d viewer, and I see this serror in the console:

THREE.THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false
Material Name: 
Material Type: ShaderMaterial
Program Info Log: Vertex shader is not compiled.

Reproduction ▶️

No response

Steps to reproduce 🔢

update three.js to rev. 0.183.0 or above.
set world.renderer.postproduction.style = OBCF.PostproductionAspect.COLOR_PEN_SHADOWS

System Info 💻

System:
    OS: Windows 11 10.0.26200
    CPU: (16) x64 AMD Ryzen 9 6900HX with Radeon Graphics
    Memory: 9.88 GB / 31.24 GB
  Binaries:
    Node: 22.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.1 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Chrome: 147.0.7727.56
    Edge: Chromium (146.0.3856.62)
    Firefox: 149.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
    Internet Explorer: 11.0.26100.8115

Used Package Manager 📦

npm

Error Trace/Logs 📃

THREE.THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false
Material Name:
Material Type: ShaderMaterial
Program Info Log: Vertex shader is not compiled.

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions