bevyengine / bevyengine/bevy

Not a precise copy of the texture Image

Open
#13,290 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

---0.13.2---

# Genral information

AdapterInfo { name: "NVIDIA GeForce GTX 1070 Ti", vendor: 4318, device: 7042, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "536.23", backend: Vulkan }

# The problem

the problem is not a precise copy of the texture Image.

I have made Mesh and Image for building PbrBundle.

When rendering it, it seems weird because some "line" appears.
![Capture1](https://github.com/bevyengine/bevy/assets/69791771/6827790f-ffb5-4a98-8b9f-adaa99d160d6)
![Capture2](https://github.com/bevyengine/bevy/assets/69791771/c19f87fc-8e09-48a0-a2df-bfbfd215c8eb)

It is caused because it copies from the image "unrelated" part (just a bit above) part too

It is a big problem when the mesh has transparent parts.

## Suggestion

I think it can be "fixed" by implementing 3D Images for standard material or having some index like UV but it should have a hole number that matches the width of the image and height.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported rendering problem with the Bevy 0.13.2 PbrBundle built from the mentioned Mesh and Image, using the provided screenshots as the expected context. Investigate texture sampling around the Image and standard material; done means the mesh samples only the intended texture area, including when transparent parts are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.