πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2021-04-10. It may be informal or outdated β€” anyone can edit this page to improve it. Original discussion

render.readPixel returns alpha; RenderView for offscreen

πŸ–ΌοΈ RenderingUpdated 2 days agoβ€’0 views
render.readPixel() returns RGBA including alpha - for reading game textures render the view to an RT first (render.RenderView with origin/angles/fov params) the…

How to read pixels / render a scene offscreen in starfall

render.readPixel() returns RGBA including alpha - for reading game textures render the view to an RT first (render.RenderView with origin/angles/fov params) then readPixel.

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.