Skip to content

Commit 6478fd7

Browse files
committed
tracking 8.8
1 parent f772f42 commit 6478fd7

File tree

1 file changed

+4
-0
lines changed
  • articles/tutorials/advanced/2d_shaders/08_light_effect

1 file changed

+4
-0
lines changed

articles/tutorials/advanced/2d_shaders/08_light_effect/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,10 @@ When each individual light is drawn into the `LightBuffer`, it needs to use the
458458
| :--------------------------------------------------------------------------------: |
459459
| **Figure 8-19: The point light can access screen space** |
460460

461+
> [!note]
462+
> The `LightBuffer` is showing that red/greenish color gradient because we forces the shader to return the `input.ScreenCoordinates.xy`. This is only to verify that the `ScreenCoordinates` are working as expected.
463+
464+
461465
11. Now, the `pointLightEffect` can use the screen space coordinates to sample the `NormalBuffer` values. To build intuition, start by just returning the values from the `NormalBuffer`.
462466

463467
Start by reading those values, and then return immediately:

0 commit comments

Comments
 (0)