Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird Rendering Order #13298

Open
itsmeagainlamo opened this issue May 9, 2024 · 0 comments
Open

Weird Rendering Order #13298

itsmeagainlamo opened this issue May 9, 2024 · 0 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@itsmeagainlamo
Copy link

Bevy version

0.13.1

General information

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

What I try to achieve

I have made a chunk that has cubes that use "global lattice voxels"

The problem

The ordering is wrong or some weird bug that I can't understand probably how the normals are implied. sometimes the texture Image is transparent and some time is not.

Here I changed the normals to be wrong to see the difference

weird.stuff.-.Trim.mp4

when done "currently" (all normals looking up) (it should be seen from both sides )

Nations.2024.05.09.-.15.52.33.06.mp4

Additional information

Some normals are not current for viewing easily when I create StandardMaterial I use the double-sided to be true and cull_mode to None which enables rendering both ways

let material = StandardMaterial{
      base_color_texture : Some(image), 
      double_sided: true, 
      cull_mode: None, 
      alpha_mode: AlphaMode::Blend, 
      ..default()
  };
@itsmeagainlamo itsmeagainlamo added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 9, 2024
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen S-Needs-Investigation This issue requires detective work to figure out what's going wrong and removed S-Needs-Triage This issue needs to be labelled labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

2 participants