Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

Plugin bindings: SolariLighting's first_bounce_probability and the Tint material, as L2's registry read has them

shinyobjectz1c63d49e8b3c
diff --git a/sdk/plugins/src/bevy.gen.tsx b/sdk/plugins/src/bevy.gen.tsx
index f6a9c82f..403929bb 100644
--- a/sdk/plugins/src/bevy.gen.tsx
+++ b/sdk/plugins/src/bevy.gen.tsx
@@ -1,6 +1,6 @@
// Generated by raea-bevy-sdk from raea's Bevy App's TypeRegistry (bevy (bevy)); don't edit, regenerate
-// (tools/bevy-plugins.sh gen). 388 component, 12 event, 38 message, 53 resource.
-// - In a scene (TSX): 441 wrappers, each a <BevyComponent> (or <BevyResource>) naming its type path, which raea-render
+// (tools/bevy-plugins.sh gen). 389 component, 12 event, 38 message, 53 resource.
+// - In a scene (TSX): 442 wrappers, each a <BevyComponent> (or <BevyResource>) naming its type path, which raea-render
// applies with ReflectComponent::insert. Put a component inside the <Mesh3d> it belongs to; <BevySettings> sets the
// plugin's resources.
// - In a TypeScript program (raea/bevy's BevyApp): `bevy` holds a typed handle for every component,
@@ -2546,6 +2546,9 @@ export type MeshMaterial3dExtendedMaterialStandardMaterialGrid = string | Record
/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_look::paint::Paint>> */
export type MeshMaterial3dExtendedMaterialStandardMaterialPaint = string | Record<string, unknown> /* bevy_asset::handle::Handle<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_look::paint::Paint>>: in a Canvas3D an asset path or the asset inline */;
+/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::tint::Tint>> */
+export type MeshMaterial3dExtendedMaterialStandardMaterialTint = string | Record<string, unknown> /* bevy_asset::handle::Handle<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::tint::Tint>>: in a Canvas3D an asset path or the asset inline */;
+
/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::toon::ToonExt>> */
export type MeshMaterial3dExtendedMaterialStandardMaterialToonExt = string | Record<string, unknown> /* bevy_asset::handle::Handle<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::toon::ToonExt>>: in a Canvas3D an asset path or the asset inline */;
@@ -3111,6 +3114,7 @@ export interface SolariLighting {
primary_di_samples: number;
secondary_di_samples: number;
max_bounces: number;
+ first_bounce_probability: number;
world_cache_max_temporal_samples: number;
world_cache_direct_light_sample_count: number;
world_cache_max_gi_ray_distance: number;
@@ -5998,6 +6002,11 @@ export function MeshMaterial3dExtendedMaterialStandardMaterialPaint(props: { val
return <BevyComponent type="bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_look::paint::Paint>>" value={props.value ?? {"Uuid":"97128bb1-2588-480b-bdc6-87b4adbec477"}} from={props.from} />;
}
+/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::tint::Tint>> (component); default {"Uuid":"97128bb1-2588-480b-bdc6-87b4adbec477"} */
+export function MeshMaterial3dExtendedMaterialStandardMaterialTint(props: { value?: MeshMaterial3dExtendedMaterialStandardMaterialTint; from?: number }) {
+ return <BevyComponent type="bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::tint::Tint>>" value={props.value ?? {"Uuid":"97128bb1-2588-480b-bdc6-87b4adbec477"}} from={props.from} />;
+}
+
/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::toon::ToonExt>> (component); default {"Uuid":"97128bb1-2588-480b-bdc6-87b4adbec477"} */
export function MeshMaterial3dExtendedMaterialStandardMaterialToonExt(props: { value?: MeshMaterial3dExtendedMaterialStandardMaterialToonExt; from?: number }) {
return <BevyComponent type="bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::toon::ToonExt>>" value={props.value ?? {"Uuid":"97128bb1-2588-480b-bdc6-87b4adbec477"}} from={props.from} />;
@@ -6355,7 +6364,7 @@ export function Pathtracer(props: { value?: Partial<Pathtracer>; from?: number }
/** bevy_solari::realtime::SolariLighting (component) */
export function SolariLighting(props: { value?: Partial<SolariLighting>; from?: number }) {
- return <BevyComponent type="bevy_solari::realtime::SolariLighting" value={props.value ?? {"restir":false,"confidence_weight_cap":8.0,"primary_di_samples":8,"secondary_di_samples":4,"max_bounces":3,"world_cache_max_temporal_samples":32.0,"world_cache_direct_light_sample_count":32,"world_cache_max_gi_ray_distance":50.0,"world_cache_cell_updates_soft_target":40000,"world_cache_position_base_cell_size":0.15000000596046448,"world_cache_position_lod_scale":15.0,"reset":true}} from={props.from} />;
+ return <BevyComponent type="bevy_solari::realtime::SolariLighting" value={props.value ?? {"restir":false,"confidence_weight_cap":8.0,"primary_di_samples":8,"secondary_di_samples":4,"max_bounces":3,"first_bounce_probability":1.0,"world_cache_max_temporal_samples":32.0,"world_cache_direct_light_sample_count":32,"world_cache_max_gi_ray_distance":1000.0,"world_cache_cell_updates_soft_target":40000,"world_cache_position_base_cell_size":0.15000000596046448,"world_cache_position_lod_scale":15.0,"reset":true}} from={props.from} />;
}
/** bevy_solari::scene::types::RaytracingMesh3d (component); default {"Uuid":"97128bb1-2588-480b-bdc6-87b4adbec477"} */
@@ -7689,6 +7698,8 @@ export const bevy = {
MeshMaterial3dExtendedMaterialStandardMaterialGrid: component<MeshMaterial3dExtendedMaterialStandardMaterialGrid>("bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_grid::Grid>>"),
/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_look::paint::Paint>> (component) */
MeshMaterial3dExtendedMaterialStandardMaterialPaint: component<MeshMaterial3dExtendedMaterialStandardMaterialPaint>("bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_look::paint::Paint>>"),
+ /** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::tint::Tint>> (component) */
+ MeshMaterial3dExtendedMaterialStandardMaterialTint: component<MeshMaterial3dExtendedMaterialStandardMaterialTint>("bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::tint::Tint>>"),
/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::toon::ToonExt>> (component) */
MeshMaterial3dExtendedMaterialStandardMaterialToonExt: component<MeshMaterial3dExtendedMaterialStandardMaterialToonExt>("bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_material::toon::ToonExt>>"),
/** bevy_pbr::mesh_material::MeshMaterial3d<bevy_pbr::extended_material::ExtendedMaterial<bevy_pbr::pbr_material::StandardMaterial, raea_sys_procmat::Procedural>> (component) */
diff --git a/sdk/plugins/src/plugins.lock.json b/sdk/plugins/src/plugins.lock.json
index f84c3094..77d8ae3e 100644
--- a/sdk/plugins/src/plugins.lock.json
+++ b/sdk/plugins/src/plugins.lock.json
@@ -29,7 +29,7 @@
"bevy": {
"crate": "bevy",
"version": "v0.20.0",
- "schema": "9698b34f185564e3"
+ "schema": "94eb2e3b694607f8"
},
"leafwing": {
"crate": "leafwing-input-manager",