Skip to content

Commit

Permalink
Specify interactions between albedo_factor and existing materials
Browse files Browse the repository at this point in the history
  • Loading branch information
EtaLoop committed Oct 3, 2024
1 parent 26fc9d7 commit f8ff765
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ table Asset3D (
// --- Optional ---

/// A color multiplier applied to the whole asset.
///
/// For mesh who already have albedo_factor in materials,
/// it will be overwritten by actual albedo_factor of Asset3D (if specified).
albedo_factor: rerun.components.AlbedoFactor ("attr.rerun.component_optional", nullable, order: 3100);
}
3 changes: 3 additions & 0 deletions crates/store/re_types/src/archetypes/asset3d.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/viewer/re_viewer/src/reflection/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions rerun_cpp/src/rerun/archetypes/asset3d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions rerun_py/rerun_sdk/rerun/archetypes/asset3d.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8ff765

Please sign in to comment.