Skip to main content

Questions tagged [z-buffer]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
184 views

Silhouette edge detection alternatives to Sobel

I'm trying to implement a silhouette detection algorithm in post-processing. I've come across solutions based on Sobel/Roberts cross/... filters and I was wondering if there are more accurate ...
leone ruggiero's user avatar
0 votes
0 answers
66 views

Data type for coordinates

I am trying optimize routines for drawing primitive shapes for my custom 3D renderer. What is the best data type for representing a coordinate in 3D space? I thought that integer would be the best ...
Jimmy Yang's user avatar
0 votes
0 answers
56 views

Obtaining sample position z value when using positions from depth buffer for SSAO

I was looking to implement SSAO; demonstrated on learnopeng (https://learnopengl.com/Advanced-Lighting/SSAO). While I have implemented the way they have done it i.e using a position texture for ...
user17440's user avatar
0 votes
0 answers
121 views

Examples of cases where you write depth value in Fragment Shader?

I've very less knowledge when it comes to rasterization and typical rendering in games and other applications. So I was reading up on the rendering pipeline and found that the hardware could do early ...
gallickgunner's user avatar