# Questions tagged [diffuse]

The tag has no usage guidance.

24 questions
Filter by
Sorted by
Tagged with
88 views

### Ray tracing of a diffuse material sphere doesn't work, the sphere just shades black

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/...
• 101
169 views

### OpenGL old-style diffuse shading producing unexpected effects

Question: What is going wrong with the shape of the contours of constant illumination in the below picture ? Detail: Although Lambertian shading might be ill-regarded because it exposes the hard edges ...
• 163
1 vote
177 views

### Specular reflection with different viewing direction where reflection direction and viewing direction coincide

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$...
• 211
1 vote
102 views

### Contour-line looking artifact on diffuse irradiance map

I tried implementing my own diffuse irradiance map maker after reading Learn OpenGL > PBR > IBL > Diffuse Irradiance. It takes an HDR image and makes six HDR cube map. But It keeps making ...
• 111
1 vote
507 views

### question about true Lambertian reflection in Ray tracing in one weekend

I have a question about Peter Shirley's Ray tracing in one weekend. In the True Lambertian Reflection section, when talking about rejection method, he said This distribution scales by the cos^3(ϕ) ...
• 31
1 vote
238 views

### Ray tracing Bug with Diffuse material

I am trying to do ray tracing in python (following the tutorial given in Ray Tracing in a weekend). Basically I am shooting rays from eye and the recursively bounce around, each time they hit ...
• 131
39 views

### How to measure the reflectance of a material without using a Spectralon

I am trying to measure the reflectance% of a surface (it is made of Teflon and is very white). I am using a line spectrometer. I believe the piece can replace an expensive Spectralon for some ...
492 views

### Confusion around Lambert's Cosine Law in Ray Tracing in One Weekend

Peter Shirely's Ray Tracing in One Weekend presents the following function to calculate the color of a lambertian material (See chapter's 7 and 8): ...
1 vote
100 views

• 121
164 views

### Equivalent of Fresnel law for determining transmitted/diffuse split

I understand that Fresnel tells us what percentage of light reflects vs refracts, but what law tells me the percentage of refracted light that is transmitted versus the percentage of refracted light ...
1k views

### Better alternatives to the Lambert BRDF

After reading about the new Disney Diffuse BRDF, I have been wondering if this is currently the best Diffuse BRDF at the moment? How much more of a difference would this make compared to using a ...
• 2,491
554 views

### Derivation of Wikipedia's path tracing diffuse BRDF

Wikipedia's path tracing algorithm has the following line for the diffuse BRDF: Color BRDF = 2 * m.reflectance * cos_theta; I'm a little confused as I've been ...
• 700
147 views

### Problem with Basic Diffuse Lighting

So recently I have been learning how to implement Diffuse Lighting in DirectX and I have done so with the following code: ...
• 2,491
116 views

### Data fitting SVBRDF with L-M

I am reading two shot svbrdf capture . I want to understand the data fitting. For example, I have my input image 3000x2000 pixels, and I divide it to create my source tiles of 192x192 pixels. The way ...
• 149
2k views

### 16bit half-float linear HDR images as (diffuse/albedo) textures?

So I been thinking about this for a while and tried to google for an answer but without any success. If all your textures are 8bit LDR images, like JPEGs, couldn't that potentially cause conflicts ...
8k views

### How to properly combine the diffuse and specular terms?

As far as I understand, in a BRDF the Fresnel term is telling us the probability for a photon to be reflected or refracted when it hits a surface. The reflected photons will contribute to the ...
• 4,380