Skip to content

Texture coordinates are jumbled in path tracer but appear correctly in regular renderer. #708

@IanOvergardADSK

Description

@IanOvergardADSK

Describe the bug

I have a scene with a terrain that has a mapbox texture applied and some objects with the standard material and some simple textures applied. I'm finding that the texture samples become jumbled when path tracing is enabled.

Expected behavior

I'm expecting texture samples to be in the correct place.

Screenshots and Repro Model

I don't have a gltf model because this is created dynamically (although can implement an exporter if that would help)

Here's a screenshot with standard GPU rendering:

Image

And here's one with the path tracer enabled:

Image

The texture is applied, but the texture samples are completely jumbled

This is unfortunately code for work so I can't share it directly, but if it helps I can try to export either a glTF of my current scene, or maybe a smaller repro (hard to do though, a lot of data is from dynamic apis. The scene itself is very simple though, no fancy stuff going on (just standard materials))

Platform:

  • Device: ThinkPad P16 Gen 2
  • OS: Windows 11
  • GPU: NVidia RTX A1000 6GB Laptop GPU (and Intel UHD Graphics but my browser should be configured in NVidia settings to use the NVidia GPU)
  • Browser: Chrome
  • Browser Version: Version 142.0.7444.176 (Official Build) (64-bit)
  • Three.js version: 0.179.0
  • Library version: 0.0.23

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions