Skip to content

Commit 733a28e

Browse files
authored
Merge pull request #370 from Strokkur424/fix/reversed-values
fix: First Shaderpack: reversed values on shadows page
2 parents 9baf125 + 256bf8a commit 733a28e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/content/docs/current/Guides/Your First Shaderpack

src/content/docs/current/Guides/Your First Shaderpack/4_shadows.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ First, we should define how widely we want to sample, and how we want to distrib
352352

353353
```glsl
354354
// defines the total radius in which we sample (in pixels)
355-
#define SHADOW_RADIUS 4
355+
#define SHADOW_RADIUS 1
356356
// controls how many samples we take for every pixel we sample
357-
#define SHADOW_RANGE 1
357+
#define SHADOW_RANGE 4
358358
```
359359

360360
:::note[Note]

0 commit comments

Comments
 (0)