Skip to content

Conversation

@hukasu
Copy link
Contributor

@hukasu hukasu commented Nov 2, 2025

Objective

bevy_pbr has a lot of utilities that could be usable by more materials, but are tied to the bindings set by StandardMaterial, one such utility is the parallaxed_uv method.

Solution

Untie parallaxed_uv from the StandardMaterial textures.

Testing

deferred_rendering example as it contains parallaxed uvs.

Showcase

image

Blocker

Absolutely does not work with bindless materials, i don't know why, the app stops responding before anything is rendered to the screen an closes without any kind of error

/mnt/data/Code/bevy_fork> cargo run --example deferred_rendering --features=wayland
     Running `target/debug/examples/deferred_rendering`
2025-11-02T02:10:43.604935Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (NixOS 25.05)", kernel: "6.12.50", cpu: "Intel(R) Core(TM) i7-14700KF", core_count: "20", memory: "31.2 GiB" }
2025-11-02T02:10:43.676008Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 4060 Ti", vendor: 4318, device: 10243, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "570.153.02", backend: Vulkan }
2025-11-02T02:10:44.047896Z  INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
2025-11-02T02:10:44.054048Z  INFO bevy_winit::system: Creating new window deferred_rendering (0v0)
2025-11-02T02:10:44.247082Z  WARN bevy_pbr::render::mesh_view_bindings: Too many textures in mesh pipeline view layout, this might cause us to hit `wgpu::Limits::max_sampled_textures_per_shader_stage` in some environments.
Error: nu::shell::core_dumped

  × External command core dumped
   ╭─[entry #2:1:1]
 1 │ cargo run --example deferred_rendering --features=wayland
   · ──┬──
   ·   ╰── core dumped with SIGSEGV (11)
   ╰────

@hukasu hukasu added A-Rendering Drawing game state to the screen S-Blocked This cannot move forward until something else changes M-Release-Note Work that should be called out in the blog due to impact S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged labels Nov 2, 2025
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 M-Release-Note Work that should be called out in the blog due to impact S-Blocked This cannot move forward until something else changes S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant