Skip to content

Commit 2139375

Browse files
committed
Update custom-effects.en.md
1 parent 5bc7f70 commit 2139375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manual/content/custom-effects.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ attribute vec3 position;
130130

131131
Available macros:
132132

133-
- If the camera of the associated `EffectPass` is a `PerspectiveCamera`, the macro `PERSPECTIVE_CAMERA` will be defined.
134-
- If the composer uses `HalfFloatType` frame buffers, the macro `FRAMEBUFFER_PRECISION_HIGH` will be defined.
133+
- If the main camera is a `PerspectiveCamera`, the macro `PERSPECTIVE_CAMERA` will be defined.
134+
- If the geometry pass uses a float type color buffer, the macro `FRAMEBUFFER_PRECISION_HIGH` will be defined.
135135

136136
_Effects may define custom uniforms, varyings, functions and preprocessor macros as usual, but should not define global variables or constants._
137137

0 commit comments

Comments
 (0)