Linerenderer in GZDOOM

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Squishkitt
Posts: 1
Joined: Wed May 28, 2025 8:18 am
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Graphics Processor: Not Listed

Linerenderer in GZDOOM

Post by Squishkitt »

I'm currently a member of a dev team for a new game being made on GZDOOM. I've been researching how to draw a line between two Vector3s in GZDOOM, and the most common method (spawning particles along a line like A_RailAttack) just seems. so inefficient, and looks pretty terrible without using a ludicrous number of particles. People also seem to be rather adamant that a true linerenderer is impossible, but could it be achieved via a pixel shader? I'm sure there has to be a way, right? it just seems ridiculous that an engine built around lines couldnt render a line. Anyway, my question is: am i wasting my time by trying to create a real, honest to god linerenderer, or is there some way to get it to work? A method I've overlooked?
Post Reply

Return to “Scripting”