Jump to content
  • Advertisement
Sign in to follow this  
RyanA

Ink-Style Lines

This topic is 4003 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been working on a game where everything is drawn using GL_LINES. I'd like to make the game look more stylized to make it look like the graphics were "painted" on the screen using an ink-brush. Here are some examples from the very awesome Mojib Ribbon: One Two and... Three Does anyone have any ideas on how to accomplish this? I would highly value any input you may have. Thanks! :)

Share this post


Link to post
Share on other sites
Advertisement
the best way i can think of would be to make the lines out of connecting gl_quads and put a repeating texture for the brush effects

Share this post


Link to post
Share on other sites
It depends on if the lines are outlining figures that should block others. If you are using depth testing, using polys is much nicer. If you want to do it with lines, you could either use particle effects (vertex pipeline expensive) or you could write a pixel shader to compute the ink effect. You obviously have to make sure your shader is not volatile because at 30fps you will likely get a blur if it generates differently for different input coordinates.

Share this post


Link to post
Share on other sites
Here is a big list of many different NPR (non-photorealistic rendering) techniques. Many of them are dead links now, but it'll at least give you something more to google with.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!