Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tiled Forward Shading Johan Medeström. Project Goals Render a scene with lots of lights Learn more OpenGL and shading techniques Learn more about OpenCL/Compute.

Similar presentations


Presentation on theme: "Tiled Forward Shading Johan Medeström. Project Goals Render a scene with lots of lights Learn more OpenGL and shading techniques Learn more about OpenCL/Compute."— Presentation transcript:

1 Tiled Forward Shading Johan Medeström

2 Project Goals Render a scene with lots of lights Learn more OpenGL and shading techniques Learn more about OpenCL/Compute shaders

3 What I researched OpenGL 4.3 functionality Compute Shaders OpenCL CPU based methods Ended up with Compute Shaders due to familiarity

4 Tiled Shading Divide screen into 16x16 or (32x32, 64x64.....) pixel tiles Calculate which lights affect a tile Use compute shaders to increase performance Calculate lighting per tile

5 Tiled Deferred Shading

6 Early tests Lots of lights are supported with good framerates 4096 small point lights

7 Final Results Both techniques running steady at 60 fps 2048 light sources support

8 Performance results

9 Demo time!


Download ppt "Tiled Forward Shading Johan Medeström. Project Goals Render a scene with lots of lights Learn more OpenGL and shading techniques Learn more about OpenCL/Compute."

Similar presentations


Ads by Google