Skip to content

Add a prewater render stage for 3D lines and 3D primitives - #5263

Open
FileEX wants to merge 1 commit into
multitheftauto:masterfrom
FileEX:feature/underwater_lines
Open

Add a prewater render stage for 3D lines and 3D primitives#5263
FileEX wants to merge 1 commit into
multitheftauto:masterfrom
FileEX:feature/underwater_lines

Conversation

@FileEX

@FileEX FileEX commented Aug 23, 2026

Copy link
Copy Markdown
Member

Summary

This PR adds a new prewater render stage to the 3D line and 3D primitive rendering functions, allowing them to be rendered underwater.

image image

Motivation

Closes #4671

Test plan

addEventHandler("onClientPreRender", root, function()
	dxDrawLine3D(2604, -2698, -6, 2604, -2398, -6, 0xffffffff, 10, 'prewater')
end)
``

@FileEX FileEX added the enhancement New feature or request label Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3D drawing rendered before water rendering

1 participant