You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Figure 8-19: The point light can access screen space**|
460
460
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
+
461
465
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`.
462
466
463
467
Start by reading those values, and then return immediately:
0 commit comments