Skip to main content

Questions tagged [shading]

4 votes
1 answer
119 views

Earlier papers on shading algorithms describe the basic shading model as variations of $$ s = |\cos\theta| $$ See for example "A hidden surface algorithm for computer generated halftone pictures&...
Lukas's user avatar
  • 43
1 vote
1 answer
274 views

I'm trying to implement a basic form of physically based rendering (PBR) and I am using the PBR tutorial from learnopengl dot com as a reference. The PBR I am implementing consists of two parts, ...
unusually_crispy_crisps's user avatar
2 votes
0 answers
81 views

I am writing a renderer that uses a deferred clustered shading technique. On the CPU I group lights, decals, and environment maps into 3 seperate clustered structures (functionally, arrays of unsigned ...
J. H's user avatar
  • 121
2 votes
1 answer
72 views

I am a newbie in Computer graphics and trying to implement Dynamic Fusion following the paper. I can understand most of the paper, but there is this line bothering me "rendering the warped ...
Trong-Thang Pham's user avatar
0 votes
0 answers
117 views

I made this ray tracer in javascript to run on html with imageData. I have been using the book "Ray Tracing in One Weekend" as a reference (https://raytracing.github.io/books/...
playerJX1's user avatar
  • 101
1 vote
1 answer
272 views

Suppose $P_1$ and $P_2$ two different points on surface. And let $l$: be the light source direction, $n$: normal vector $r$: specular reflection direction $v$: viewing direction . In case 1 (at $P_1$...
S. M.'s user avatar
  • 212
1 vote
1 answer
118 views

I am looking through this code and seeing two things which confuse me (well, the whole functions does) in the top functions. First, dir * p where ...
Jeff Streepe's user avatar
0 votes
2 answers
1k views

I am struggling to understand as to why fundamentally triangles shaded through Gouraud shading and ones shaded through Phong shading look different. From my understanding, Gouraud Shading, takes the ...
Hash's user avatar
  • 177

15 30 50 per page
1
2 3 4 5 6