# FRAMERESOURCE_SCENECOLORGRAB

Variable · category: Graphics

Source: https://github.com/playcanvas/engine/blob/64089771243fe28a9b9d2b4de538b99b07c75097/src/extras/render-passes/constants.js#L109

A frame resource: a copy of the scene color with mipmaps, taken after the opaque geometry and the
skybox have rendered, before the transparent geometry. List it in
[CameraFrameEffect#requires](https://api.playcanvas.com/engine/classes/CameraFrameEffect.md#requires) to read the opaque scene in the effect's shaders, which sample
it as the `uSceneColorMap` texture - for example to distort it while rendering into the scene
between its opaque and transparent geometry. It is the copy the `rendering.sceneColorMap` option
of the camera frame provides to the materials, which requiring it enables.

```ts
const FRAMERESOURCE_SCENECOLORGRAB: string = 'sceneColorGrab'
```
