Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/native-decls/DrawCorona.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ game: gta5
## DRAW_CORONA

```c
void DRAW_CORONA(float posX, float posY, float posZ, float size, int red, int green, int blue, int alpha, float intensity, float zBias, float dirX, float dirY, float dirZ, float viewThreshold, float innerAngle, float outerAngle, int flags);
void DRAW_CORONA(float posX, float posY, float posZ, float size, int alpha, int red, int green, int blue, float intensity, float zBias, float dirX, float dirY, float dirZ, float viewThreshold, float innerAngle, float outerAngle, int flags);
```

Allows drawing advanced light effects, known as coronas, which support flares, volumetric lighting, and customizable glow properties.
Expand All @@ -16,10 +16,10 @@ Allows drawing advanced light effects, known as coronas, which support flares, v
* **posY**: The Y position of the corona origin.
* **posZ**: The Z position of the corona origin.
* **size**: The size of the corona.
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
* **red**: The red component of the marker color, on a scale from 0-255.
* **green**: The green component of the marker color, on a scale from 0-255.
* **blue**: The blue component of the marker color, on a scale from 0-255.
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
* **intensity**: The intensity of the corona.
* **zBias**: zBias slightly shifts the depth of surfaces to make sure they don’t overlap or cause visual glitches when they are very close together. The zBias value are usually in the range of 0.0 to 1.0.
* **dirX**: The X direction of the corona.
Expand Down
Loading