Skip to content

Commit

Permalink
Add an additional test for R+G+B, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Jan 10, 2025
1 parent d2cae40 commit 7b58ec9
Show file tree
Hide file tree
Showing 7 changed files with 195 additions and 31 deletions.
12 changes: 11 additions & 1 deletion Models/PointLightIntensityTest/README.body.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@

## Description

This model tests various colors of point lights (via `KHR_lights_punctual`) that all share the same intensity.
This model tests various colors of point lights (via `KHR_lights_punctual`) that all share the same intensity (1.0).

It is intended to serve as a test for the following clarification that was added to the `KHR_lights_punctual` extension:

> The `intensity` represents the luminous intensity that the light would emit if it were colored pure white (`[1.0, 1.0, 1.0]`). The `color` property acts as a wavelength-specific multiplier.
In other words, all the lights share the same amount of raw energy, but do not share their perceptual brightness. The blue lamp in particular should appear visually not as bright as other colors.

The test material in each case is (0.8, 0.8, 0.8). The lights are as follows:

| Label | Color |
|-------|-------|
| Red | (1.0, 0.0, 0.0) |
| Green | (0.0, 1.0, 0.0) |
| Blue | (0.0, 0.0, 1.0) |
| Red + Green + Blue | Three colocated lights, matching the above |
| White | (1.0, 1.0, 1.0) |
| Gray | (0.5, 0.5, 0.5) |
Binary file not shown.
Binary file modified Models/PointLightIntensityTest/glTF/LampColorNames.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/PointLightIntensityTest/glTF/PointLightIntensityTest.bin
Binary file not shown.
Loading

0 comments on commit 7b58ec9

Please sign in to comment.