# sm.render.setGI

Sets the global illumination override settings.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.render.setGI( weight )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.render.md#setgi)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `weight` | number | GI weight. |
