From 48749bd32d1fb3c0a49f08ce1f9b8ea9724e54d8 Mon Sep 17 00:00:00 2001 From: Francesco Michelini Date: Thu, 5 Oct 2023 14:45:56 +0200 Subject: [PATCH] Fix default values for `width` and `height` --- docs/guide/abstractions/fbo.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guide/abstractions/fbo.md b/docs/guide/abstractions/fbo.md index 5743d11f..addcb324 100644 --- a/docs/guide/abstractions/fbo.md +++ b/docs/guide/abstractions/fbo.md @@ -161,9 +161,9 @@ onMounted(async () => { ## Props -| Prop | Description | Default | -| :------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | -| **`width`** | `number` - The width of the FBO. | `512` | -| **`height`** | `number` - the height of the FBO | `512` | -| **`depth`** | `boolean` - Whether or not the FBO should render the depth to a [`depthTexture`](https://threejs.org/docs/?q=webglre#api/en/renderers/WebGLRenderTarget.depthTexture). | `false` | -| **`settings`** | `WebGLRenderTargetOptions` - Every other configuration property for the [`WebGLRenderTarget` class](https://threejs.org/docs/#api/en/renderers/WebGLRenderTarget) | `{}` | +| Prop | Description | Default | +| :------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | +| **`width`** | `number` - The width of the FBO. | Width of the canvas | +| **`height`** | `number` - the height of the FBO | Height of the canvas | +| **`depth`** | `boolean` - Whether or not the FBO should render the depth to a [`depthTexture`](https://threejs.org/docs/?q=webglre#api/en/renderers/WebGLRenderTarget.depthTexture). | `false` | +| **`settings`** | `WebGLRenderTargetOptions` - Every other configuration property for the [`WebGLRenderTarget` class](https://threejs.org/docs/#api/en/renderers/WebGLRenderTarget) | `{}` |