Skip to content

inconsistent (wrong) shadow rendering between structural meshes and func_* entities #456

@rnd332tec

Description

@rnd332tec

Paril has already mentioned this but maybe more people have the problem ^^

Description:

When using structural meshes, shadows are rendered correctly. However, when using meshes defined as brush entities with the class func_detail_illusionary or func_illusionary_visblocker, the shadow rendering appears to produce incorrect results. This behavior does not occur with func_detail, where shadows are rendered as expected.

Steps to Reproduce:

Create a scene with the same mesh constellation used in three configurations: 

      - As a structural mesh
      - As a func_detail entity (optional)
      - As a func_detail_illusionary entity
      - As a func_illusionary_visblocker entity
      (It needs to be a mesh constellation like in the image.)

Observe the shadow behavior in each case.

Note that shadows render correctly for structural meshes and func_detail, but not for the other two entity types.

Image

Expected Behavior:
Shadows should be rendered consistently for all entity types, especially when their geometry is identical.

Used Version: ericw-tools-2.0.0-alpha9-win64
params:
-bounce -bouncescale 0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions