Skip to content

Depth texture imported in various compression modes results in a crash if "DeepParallax" mode is enabled #39161

@TheMoye

Description

@TheMoye

Godot version:
v3.2.1.stable.official and v3.2.2.beta3.official

OS/device including version:
Windows 10 Pro 64 bits Version 1909 (18363.836)
NVidia GeForce RTX 2080, NVidia Studio Driver v442.92, GLES3

Issue description:
Displaying a scene containing an object whose material has a depth texture in various compression modes when the DeepParallax option is activated causes a Godot crash.
No crash when the DeepParallax option is disabled, regardless of the compression mode chosen and its quality.

Enabling DeepParallax :

  • Crash when the compression mode is set to "Uncompressed" at the opening of the scene.
  • Do not crash in "VideoRam" compression mode, no matter the quality.
  • Crash in "Lossy" compression mode if the scene is displayed in the editor when reimporting the texture.
  • Crash in "Lossless" compression mode, at the opening of the scene.

Attached are the normal and depth textures used for this test.

Depth_and_Normal_maps.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions