11

Click here to load reader

Introduction to Global Illumination by Aryo

Embed Size (px)

Citation preview

Page 1: Introduction to Global Illumination by Aryo

@agatestudio

Introduction to Global Illumination

Aryo

Knight

Agate Studio

Page 2: Introduction to Global Illumination by Aryo

Introduction to Global Illumination

Agustinus Arya Adhinugraha

Page 3: Introduction to Global Illumination by Aryo

Direct Lighting Only 800x600 : 1.42045ms – 704fps

-Draw scene depth from light point of view (for shadow purpose).

-Draw deferred into GBuffer(albedo, normal, depth).

-Draw direct shading & shadow.

Page 4: Introduction to Global Illumination by Aryo

Reflective Shadow Map (RSM) 128x128 Color (left), Screen Position (center), Light Direction (right) - Draw scene from light point of view, and output color, screen position, and light direction.

Page 5: Introduction to Global Illumination by Aryo

Virtual Point Lights (VPL) Position

800x600 36 VPL: 21.2766ms – 47fps

- Select VPL from RSM (CPU)

Page 6: Introduction to Global Illumination by Aryo

Indirect Lighting Only

- Draw scene and treat each of VPL as common light.

Page 7: Introduction to Global Illumination by Aryo

Final (Direct + Indirect Lighting) 800x600 36 Draw VPL : 21.2766ms – 47fps 1 Draw 36 VPL : 15.3846ms – 65fps - Optimized VPL to array of VPL and iterate in fragment shader.

Page 8: Introduction to Global Illumination by Aryo

Light Propagation Volume (LPV) 800x600 8x8x8 LPV : >1000ms - <1fps

-CryEngine3 method

-Using spherical harmonics coefficients

- Currently CPU Only (time constraint)

Page 9: Introduction to Global Illumination by Aryo

Radiance Map

800x600 8x8 RM : 2.087ms – 481fps

-Based on LPV, but using 2D texture instead of 3D one.

-Need further research

Page 10: Introduction to Global Illumination by Aryo

Reference Image

800x600 Blender cycles : 18910ms