fix interpolation for pbr
Some checks are pending
Deploy Docs / build-and-deploy (push) Waiting to run
Example Run / run-examples-macos-metal (push) Waiting to run
Example Run / Compare Macos screenshots (push) Blocked by required conditions
Example Run / run-examples-linux-vulkan (push) Waiting to run
Example Run / Compare Linux screenshots (push) Blocked by required conditions
Example Run / run-examples-on-windows-dx12 (push) Waiting to run
Example Run / Compare Windows screenshots (push) Blocked by required conditions
Some checks are pending
Deploy Docs / build-and-deploy (push) Waiting to run
Example Run / run-examples-macos-metal (push) Waiting to run
Example Run / Compare Macos screenshots (push) Blocked by required conditions
Example Run / run-examples-linux-vulkan (push) Waiting to run
Example Run / Compare Linux screenshots (push) Blocked by required conditions
Example Run / run-examples-on-windows-dx12 (push) Waiting to run
Example Run / Compare Windows screenshots (push) Blocked by required conditions
This commit is contained in:
parent
08459422f9
commit
b276c9e3df
@ -1534,6 +1534,7 @@ impl Material for StandardMaterial {
|
|||||||
] {
|
] {
|
||||||
if key.bind_group_data.intersects(flags) {
|
if key.bind_group_data.intersects(flags) {
|
||||||
shader_defs.push(shader_def.into());
|
shader_defs.push(shader_def.into());
|
||||||
|
descriptor.vertex.shader_defs.push(shader_def.into());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1556,6 +1557,9 @@ impl Material for StandardMaterial {
|
|||||||
depth_stencil.bias.constant =
|
depth_stencil.bias.constant =
|
||||||
(key.bind_group_data.bits() >> STANDARD_MATERIAL_KEY_DEPTH_BIAS_SHIFT) as i32;
|
(key.bind_group_data.bits() >> STANDARD_MATERIAL_KEY_DEPTH_BIAS_SHIFT) as i32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dbg!(&descriptor);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user