💬

Community answer

Collected from the ACE community Discord archive around 2024-01-03. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it. Original discussion

Entity:draw() does nothing inside a selected rendertarget

🖼️ RenderingUpdated 2 days ago•0 views
You have to push a view matrix before drawing entities into the RT - without it the draws don't land. See the public holo_draw.lua example which draws holograms…

Why does Entity:draw() appear to do nothing while a custom render target is selected

You have to push a view matrix before drawing entities into the RT - without it the draws don't land. See the public holo_draw.lua example which draws holograms to a rendertarget and documents related quirks; render.setLightingMode/env_projectedtexture had no effect in this case.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.