Skip to main content
gamedev.net
🔒 Locked

Depth buffer resolution (cel shading)

Started by andy_fish Apr 26, 2003 at 3:51 PM 0 replies 900+ views
Original Post
andy_fish
andy_fish
Hey, I just got the cel shading engine from lesson 37 to work! woo hoo! One thing I noticed- when I''m drawing the black outline, sometimes it draws pieces of lines in the middle of the model (when its suppossed to only draw around the edges). I''m thinking that this problem is due to not enough resolution in the depth buffer, so my question is, is there anyway to increase the depth buffer resolution? either that, or is there a different way to fix this problem? thanks!
vincoof
vincoof
It is not a depth buffer issue. It is an algorithm issue.
The method that render lines does not ensure "real" outlines. But the result is pretty convincing. If you want better outlines, other realtime outline algorithms exist. Just "take a look around"

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.