Questions tagged [lighting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
557 views

Legendre Polynomial equation in Spherical Harmonics

I recently started to read about spherical harmonics. I have a question about this spherical harmonics basis function equation which is mentioned in this StupidSH article: What are those lm() and Re()...
11
votes
2answers
2k views

How is screen space ambient occlusion implemented?

I do not understand the explanation from wikipedia. For every pixel on the screen, the pixel shader samples the depth values around the current pixel and tries to compute the amount of occlusion ...
11
votes
2answers
8k views

What is ambient lighting?

Wikipedia says: An ambient light source represents a fixed-intensity and fixed-color light source that affects all objects in the scene equally. By saying "affects all objects equally" they mean ...
8
votes
1answer
2k views

What is "Object Space Lighting"?

Looking at Star Swarm, a demo for the Nitrous engine, I found this little line: "Nitrous uses Object Space Lighting, the same techniques used in film, including real-time film-quality motion blur." I ...
7
votes
2answers
1k views

Multiple Lights Shading - One Pass vs Multiple Passes

I was looking into ways to implement multiple lights shading and I've noticed Unity uses multiple passes to achieve it. It performs a base pass to apply the brightest directional pixel light + 4 ...
14
votes
2answers
2k views

How to build a decent lens/camera objective model for path tracing?

I have written a small path-tracer after learning and experimenting on smallpt. The only thing that I did not write (and understood) myself is how the initial rays are computed and fired from the ...
23
votes
2answers
10k views

How is a light probe different than an environmental cube map?

Looking at a light probe texture, it looks like a blurry environment map. What's the difference between the two, how is a light probe made, and what is the benefit of it being blurry?
7
votes
2answers
145 views

How do shaped lights work?

I know how to program directional lights, point lights and spot lights. Sometimes though, people have lights that are shaped - like bars, or even a torus. How does that work from either a ray based ...
10
votes
1answer
2k views

Efficient rendering with many light sources

To render a scene with a single light source using phong shading, one can calculate the final color of each fragment passed into the fragment shader based on the ambient/diffuse/specular components of ...

1 2 3
4