# Questions tagged [diffuse]

The tag has no usage guidance.

25 questions
Filter by
Sorted by
Tagged with
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,420
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 ...
2k views

### Why is the half vector not used in diffuse BRDF Fresnel calculations?

I am currently working with Earl Hammon Jr's Presentation PBR Diffuse Lighting for GGX+Smith Microsurfaces (now mentioned as [PBR, p.XYZ] and have read through (among others) Brent Burley's Physically-...
• 1,566
2k views

### Intuitively understanding conservation of energy for the Lambertian BRDF

The Lambertian BRDF is defined as $R / \pi$, where the division by $\pi$ is there to maintain conservation of energy. The derivation is provided here. The maths makes sense, and I can understand ...
• 447
568 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
422 views

### Should not specular reflection on a rough surface be similar to diffuse reflection?

Different BRDFs are usually used to compute diffuse and specular reflection. Some of the most often used include for example the Lambert BRDF for diffuse reflection and the Cook-Torrance BRDF for ...
• 1,861
150 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,511
168 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 ...
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
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,511
1k views

### Diffuse lighting calculations in ray-tracer

I am trying to write a ray-tracer. The lighting part is proving to work but not accurately. To debug I simplified the scene to a single sphere centered at the origin with a radius of 1 and a point ...
575 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): ...
328 views

• 111
1 vote
92 views

### How to automatically project texture from high poly mesh to low poly mesh?

I have two aligned meshes: I have exact mapping from each vertex of low poly mesh to surface of a high poly mesh. High poly (~100K vertices) mesh is non-manifold, low poly (~1K vertices) is manifold ...
• 161
205 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 ...
• 183
211 views

For a Lambertian surface, the radiance at a point is $$L = \frac{\alpha}{\pi}\cos\theta_i E_0$$ If we have an infinite flat surface, albedo = 1, illuminated directly normal, then we get L = \...
• 103
92 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