---
title: Godrays
description: Volumetric light rays emanating from a point
category: Textures
componentType: Generator
requiresChild: false
sourceUrl: https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/shaders/Godrays/index.ts
---

# Godrays

Volumetric light rays emanating from a point

## Props

## Usage

```vue-html
<Shader>
  <Godrays
    :intensity="0.8"
  />
</Shader>
```

```jsx
<Shader>
  <Godrays
    intensity={0.8}
  />
</Shader>
```

```svelte
<Shader>
  <Godrays
    intensity={0.8}
  />
</Shader>
```

```tsx
<Shader>
  <Godrays
    intensity={0.8}
  />
</Shader>
```

```javascript
import { createShader } from 'shaders/js'

const shader = await createShader(canvas, {
  components: [
    { type: 'Godrays', props: { intensity: 0.8 } }
  ]
})
```