Scene : Adds KHR_punctual_lights extension handling #3
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
informator/BazarEngine!3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/khr-punctual-lights"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Core: shared Bz::LightType {Directional, Point, Spot} - ECS Light component: + type, range, inner/outer cone angles (Color.w = intensity kept) - Vk::LightData DTO: 4 x vec4 (position/color/direction/params); LightSystem packs world direction from node -Z rotation for directional/spot, type+range+cone in params - shaders: per-type ComputeRadiance (directional no falloff, point/spot inverse-square with optional range cutoff, spot angular cone via cosine interpolation) - Asset layer: LightAsset + ModelNode::LightIndex + ModelAsset::Lights - GltfLoader: ParseGLTF reads tinygltf native KHR_lights_punctual (model.lights, node.light); InstantiateModelAsset creates ECS Light components - SceneSerializer: light entities get their own ModelNode; light/marker-mesh round-trips - GltfWriter: emits lights + node light refs (tinygltf adds extensionsUsed) - scene_roundtrip: + light checks + synthetic all-types light roundtrip (passes)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.