Ticket #122 (closed task: fixed)

Opened 12 years ago

Last modified 12 years ago

Generate shadows before lighting in deferred rending

Reported by: gongminmin Owned by: gongminmin
Priority: major Milestone: 4.3.0
Component: Core-Rendering system Version: 4.2.0
Keywords: Cc:

Description

Refactor deferred rendering framework. Move the shadow generation (including RSM generation) in between G-Buffers and lighting. This will limit the number of shadowing light into 4, texture projection light into 1.

Change History

Changed 12 years ago by gongminmin

  • milestone set to 4.3.0

Changed 12 years ago by gongminmin

  • version changed from 4.1.0 to 4.2.0

Changed 12 years ago by gongminmin

  • status changed from new to closed
  • resolution set to fixed

New algorithm implemented by Yuan Li in changeset 3040d282ad20da601c21dbe365c69fada6386371.

for each shadowed light:

generate shadow map or reflective shadow map.
convert sm to linear.
blur linear sm.

for each view port:

generate g-buffer.
shadowing from sm.
lighting.

Note: See TracTickets for help on using tickets.