Cargo Features
bevy_pbr has no features set by default.
[dependencies]
bevy_pbr = { version = "0.15.0", features = ["webgpu", "pbr_transmission_textures", "pbr_multi_layer_material_textures", "pbr_anisotropy_texture", "experimental_pbr_pcss", "shader_format_glsl", "trace", "ios_simulator", "meshlet", "meshlet_processor"] }
- webgl webgpu
-
Affects
light::MAX_DIRECTIONAL_LIGHTS
,light::MAX_CASCADES_PER_LIGHT
… - pbr_transmission_textures
-
Affects
pbr_material::StandardMaterial.diffuse_transmission_channel
,pbr_material::StandardMaterial.diffuse_transmission_texture
,pbr_material::StandardMaterial.specular_transmission_channel
,pbr_material::StandardMaterial.specular_transmission_texture
,pbr_material::StandardMaterial.thickness_channel
,pbr_material::StandardMaterial.thickness_texture
… - pbr_multi_layer_material_textures
-
Affects
pbr_material::StandardMaterial.clearcoat_channel
,pbr_material::StandardMaterial.clearcoat_texture
,pbr_material::StandardMaterial.clearcoat_roughness_channel
,pbr_material::StandardMaterial.clearcoat_roughness_texture
,pbr_material::StandardMaterial.clearcoat_normal_channel
,pbr_material::StandardMaterial.clearcoat_normal_texture
… - pbr_anisotropy_texture
-
Affects
pbr_material::StandardMaterial.anisotropy_channel
,pbr_material::StandardMaterial.anisotropy_texture
… - experimental_pbr_pcss
-
Affects
directional_light::DirectionalLight.soft_shadow_size
,point_light::PointLight.soft_shadows_enabled
,spot_light::SpotLight.soft_shadows_enabled
,light::ShadowSamplers.point_light_linear_sampler
,light::ShadowSamplers.directional_light_linear_sampler
… - shader_format_glsl
-
Enables shader_format_glsl of bevy_render
- trace
-
Enables trace of bevy_render
- ios_simulator
-
Enables ios_simulator of bevy_render
- meshlet meshlet_processor?
-
Enables the meshlet renderer for dense high-poly scenes (experimental)
Enables bevy_tasks, half, lz4_flex, and range-alloc
Affects
extended_material::MaterialExtension.meshlet_mesh_fragment_shader
,extended_material::MaterialExtension.meshlet_mesh_prepass_fragment_shader
,extended_material::MaterialExtension.meshlet_mesh_deferred_fragment_shader
,bevy_pbr::experimental
,material::Material.meshlet_mesh_fragment_shader
,material::Material.meshlet_mesh_prepass_fragment_shader
,material::Material.meshlet_mesh_deferred_fragment_shader
… - meshlet_processor = meshlet
-
Enables processing meshes into meshlet meshes