Skip to content

Proposal: Add <cast_shadows> tag under the <include> tag #600

@ddengster

Description

@ddengster

Desired behavior

Add a <cast_shadows> tag under the <include> tag in SDF 1.8 to override the included model's cast_shadows values.

Alternatives considered

You could apply <cast_shadows> under the visuals of the included model but that would apply to all usages of the model.

Implementation suggestion

Value should be 0 or 1, similar to <static>. Default to 1.

Additional context

The need for this feature sprung from problems in lightmapping models. Models with lightmaps baked into them would render both the lightmapped shadows and the ignition light's shadows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions