Hey community,
@srzerbetto @sebavan @Deltakosh
Been trying the new rectangular area light lately, and I found some potential issue:
The specular of RectAreaLight
seems not picking up the correct color values
See test renders:
The test contact sheets are organized as follows:
- Top row: Displays the new RectAreaLight, showing its beauty pass, followed by its specular-only and diffuse-only passes.
- Middle row: Shows a comparable area light type from Blender. The expectation is that the
RectAreaLight
in Babylon.js should exhibit similar behavior to this Blender area light. - Bottom row: Features a Babylon.js directional light for reference. (Additionally, an issue was observed with the Directional Light where its specular pass is unexpectedly empty; this will be addressed separately. Specular pass issue for Directional Light)
The specular pass color issue occurs regardless of whether the material is metallic or non-metallic.
Here is my PG:
Also my blender file:
(Using Blender v4.4.3)
babylon_areaLight_issue2.blend.zip (3.5 MB)
Could anyone please look into this?
Many thanks!!
Tawibox