godotengine / godotengine/godot

World Triplanar is broken with double-precision build

Open
#91,304 2 comments 0 reactions 0 assignees View on GitHub
bug confirmed topic:3d topic:rendering
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Reproducible in master. https://github.com/godotengine/godot/commit/c4733e80030f01182c91f69245a0e5ad247b4e07
- Reproducible in 4.2. https://github.com/godotengine/godot/commit/190cbcfd7f4ff22dc7d3a8a9058b0fbfe08fd194
- Reproducible in 4.1. https://github.com/godotengine/godot/commit/845fb92b0386b3e466f493b2158ee27b09b410ad

### System information

Mac Mini, Apple Silicon, M2 Pro

### Issue description

Triplanar broke in tests.

https://github.com/V-Sekai/godot-double-precision-test

See https://github.com/godotengine/godot/pull/90950#issuecomment-2077844399

#### Broken

![image](https://github.com/godotengine/godot/assets/32321/8007b2f1-5959-4bd9-9497-a63bb037971a)

#### OK

*Please ignore the rigged mesh test here.*

![Screenshot 2024-04-29 at 4 34 22 AM](https://github.com/godotengine/godot/assets/32321/429cf1a0-d271-4443-9393-7734223d16b1)

### Steps to reproduce

1. Ensure you have a double precision version of Godot Engine
1. Load mrp https://github.com/V-Sekai/godot-double-precision-test
2. Switch to the far version of the test scene.
3. Check that tri-planar is fuzzy on single-precision
3. Check that tri-planar is fuzzy on double-precision (bug)

### Minimal reproduction project (MRP)

https://github.com/V-Sekai/godot-double-precision-test

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.