Browse > Article
http://dx.doi.org/10.15701/kcgs.2020.26.3.123

GPU-based dynamic point light particles rendering using 3D textures for real-time rendering  

Kim, Byeong Jin (Korea Polytechnic University)
Lee, Taek Hee (Korea Polytechnic University)
Abstract
This study proposes a real-time rendering algorithm for lighting when each of more than 100,000 moving particles exists as a light source. Two 3D textures are used to dynamically determine the range of influence of each light, and the first 3D texture has light color and the second 3D texture has light direction information. Each frame goes through two steps. The first step is to update the particle information required for 3D texture initialization and rendering based on the Compute shader. Convert the particle position to the sampling coordinates of the 3D texture, and based on this coordinate, update the colour sum of the particle lights affecting the corresponding voxels for the first 3D texture and the sum of the directional vectors from the corresponding voxels to the particle lights for the second 3D texture. The second stage operates on a general rendering pipeline. Based on the polygon world position to be rendered first, the exact sampling coordinates of the 3D texture updated in the first step are calculated. Since the sample coordinates correspond 1:1 to the size of the 3D texture and the size of the game world, use the world coordinates of the pixel as the sampling coordinates. Lighting process is carried out based on the color of the sampled pixel and the direction vector of the light. The 3D texture corresponds 1:1 to the actual game world and assumes a minimum unit of 1m, but in areas smaller than 1m, problems such as stairs caused by resolution restrictions occur. Interpolation and super sampling are performed during texture sampling to improve these problems. Measurements of the time taken to render a frame showed that 146 ms was spent on the forward lighting pipeline, 46 ms on the defered lighting pipeline when the number of particles was 262144, and 214 ms on the forward lighting pipeline and 104 ms on the deferred lighting pipeline when the number of particle lights was 1,024766.
Keywords
Particle; Lighting; 3D Texture; Compute Shader;
Citations & Related Records
연도 인용수 순위
  • Reference
1 F. Lekien and J. Marsden , "Tricubic interpolation in three dimensions", international journal for numerical methodsin engineering, 2005
2 Ola Olsson, Markus Billeter & Ulf Assarsson., "Clustered Deferred and Forward Shading", HPG 2012, 2012
3 Ola Olsson , "Tiled and Clustered Forward Shading". , GPU Pro 4, 2013
4 Ola Olsson and Ulf Assarsson ,"Tiled Shading - Preprint", Chalmers University of Technology, JGT 2011, 2011
5 Yuriy O'Donnell , "Tiled Light Trees", I3D '17: Proceedings of the 21st ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games, 2017
6 Cem Yuksel, "Lighting grid hierarchy for self-illuminating explosions" , ACM Transactions on Graphics, july 2017
7 Andrew Lauritzen. "Deferred rendering for current and future rendering pipelines". SIGGRAPH Course: Beyond Programmable Shading, 2010
8 Cem Yuksel "Real-Time Rendering with Lighting Grid Hierarchy", Proceedings of the ACM on Computer Graphics and Interactive Techniques, june 2019,
9 Wolfgang Engel. "The light pre-pass renderer: Renderer design for efficient support of multiple lights". SIGGRAPH Course: Advances in realtime rendering in 3D graphics and games, 2009.
10 Scott Kircher and Alan Lawrance. "Inferred lighting: fast dynamic lighting and shadows for opaque and translucent objects. In Sandbox" '09:Proceedings of the 2009 ACM SIGGRAPH Symposium on Video Games, pages 39-45, New York, NY, USA, 2009.
11 Matt Swoboda. "Deferred lighting and post processing on playstation 3". Game Developer Conference, 2009.
12 Abdul Bezrati (Insomniac Games), "REAL-TIME LIGHTING VIA LIGHT LINKED LIST", SIGGRAPH Course : Advances in Real-Time Rendering in Games, 2014
13 Emil Persson (Avalanche), Ola Olsson (Chalmers University of Technology), "PRACTICAL CLUSTERED DEFERRED AND FORWARD SHADING", SIGGRAPH Course : Advances in Real-Time Rendering in Games, 2013