Skip to content
GMod Community News Commits, GitHub & Discord. One feed.
  • About
  • Tags
  • RSS
  • Telegram ↗
  • Discord ↗
← All news
Discord · #lua-help
21:19 UTC

Drawing a model to a transparent render target: SetWriteDepthToDestAlpha

In #lua-help, .kkrill wanted to draw a model on a transparent background in a render target. Phoenixf suggested render.SetWriteDepthToDestAlpha(false), and .kkrill confirmed that was it.

#rendering#lua-api
Message ↗· Wiki: render.SetWriteDepthToDestAlpha ↗
GMod Community News
About Telegram ↗ Discord ↗ RSS ↗

Independent community project. Not affiliated with or endorsed by Facepunch Studios or Valve.