User Tools

Site Tools


hpl3:engine:rendering

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
hpl3:engine:rendering [2012/10/30 10:17]
nebej
hpl3:engine:rendering [2013/10/10 13:13]
ian.thomas
Line 184: Line 184:
  
  
-[[:http:www.adobe.com:​products:​flashplayer:​start|What is Gamma?]] [[:​hpl3:​engine:​lens_flares.png|Linear-Space Lighting]] [[:http:::​filmicgames.com:​archives:​581|Gamma Correction and Gamma Correction]] ​+[[:hpl3:engine:envparticles.jpg|What is Gamma?]] [[:​hpl3:​engine:​envparticles.jpg|Linear-Space Lighting]] [[:hpl3:engine:envparticles.jpg|Gamma Correction and Gamma Correction]] ​
  
  
Line 239: Line 239:
 It is possible to smoothly fade between two different grading templates.\\ ​ It is possible to smoothly fade between two different grading templates.\\ ​
 It uses a small 3D texture with a color as input and another color as output.\\ ​ It uses a small 3D texture with a color as input and another color as output.\\ ​
-[[grading.jpg]] ​+[[:​http:​www.adobe.com:​products:​flashplayer:​start|grading.jpg]] ​
  
  
Line 249: Line 249:
  
     * Photoshop     * Photoshop
-    * [[:hpl3:​engine:​grading.jpg|NVIDIA Texture ​Tooels ​for Adobe Photoshop]] ​+    * [[https://​developer.nvidia.com/​nvidia-texture-tools-adobe-photoshop|NVIDIA Texture ​Tools for Adobe Photoshop]] ​
  
  
Line 257: Line 257:
     - Take a screenshot of the game with color grading disabled     - Take a screenshot of the game with color grading disabled
     - Open the screenshot in Photoshop     - Open the screenshot in Photoshop
-    - Drag and drop the default grading texture on the canvas (redist/​core/​textures/​grading_default.dds) or ([[:hpl3:engine:​grading.jpg|Default Grading Texture]] )+    - Drag and drop the default grading texture on the canvas (redist/​core/​textures/​grading_default.dds) or ([[:http:filmicgames.com:​archives:​581|Default Grading Texture]] )
     - Place the color strip anywhere in the image     - Place the color strip anywhere in the image
     - Flatten the image to merge all the layers     - Flatten the image to merge all the layers
Line 271: Line 271:
  
  
-[[:http:developer.nvidia.com:​nvidia-texture-tools-adobe-photoshop|{{:​hpl3:​engine:​adjustments.jpg?​nolink&​200]] }}+[[:hpl3:engine:​grading.jpg|{{:​hpl3:​engine:​adjustments.jpg?​nolink&​200]] }}
  
  
Line 352: Line 352:
  
 Depth of Field describes which part of the screen should be in focus and sharp. DOF is the distance between the nearest and farthest object in the scene that should appear sharp. Depth of Field describes which part of the screen should be in focus and sharp. DOF is the distance between the nearest and farthest object in the scene that should appear sharp.
- 
- 
-[[:​hpl3:​engine:​default_grading_texture?​id=hpl3:​engine:​rendering|{{hpl3/​engine/​gnome-dof.jpg?​w=320&​h=180?​nolink&​320x180}}]] ​ 
  
  
Line 366: Line 363:
  
  
-**Falloff **    | How fast the object should get blurry when it is closer or further away then the focus plane. The blur distance is caluclated as (Focus End - Focus Start) //x //  ​Falloff+**Falloff **    | How fast the object should get blurry when it is closer or further away then the focus plane. The blur distance is caluclated as (Focus End - Focus Start) / Falloff 
 + 
 + 
 +[[:​hpl3:​engine:​grading.jpg|{{:​hpl3:​engine:​depth_of_field_diagram.png?​nolink&​518x174}}]]  
 + 
 + 
 +=== Distance Culling === 
 + 
 + 
 +== Overview == 
 + 
 + 
 +Removal of objects that get to far away from the camera. Objects are removed based on how big they appear on the screen. The objects are gradually faded out until they are removed. Solid objects dissolve and translucent objects have their alpha faded. 
 + 
 + 
 +The default setting is that all objects are faded out when distance culling is activated. Important objects and objects that make up the silhouette of the level should have distance culling turned off. 
 + 
 + 
 +Distance culling should only be activated on outdoor levels where occlusion culling is not as effective. 
 + 
 + 
 +== Settings == 
 + 
 + 
 +**Distance Cull Active** | If distance culling should be used on this level 
 + 
 + 
 +**Distance Cull Min Range ** | The minimum range before objects start fading out. This is important to set so that very small objects dont get culled to early 
 + 
 + 
 +**Distance Cull Screen Size ** | How small an object has to be in screen size to be culled. A real value between 0.0 - 1.0. If set to 0.1 then any object that is smaller then 10% of the height of the screen will get culled 
  
 +**Distance Cull Random Size ** | A random value unique to each object that is added to the screen size. This shoudl be used so that not all objects of the same size are removed at the same range
  
-{{hpl3/​engine/​depth_of_field_diagram.png?​w=518&​h=174?​nolink&​518x174}} 
  
 +**Culled By Distance ** | A variable set per object that specifies if the object should be affected by distance culling
hpl3/engine/rendering.txt · Last modified: 2014/05/20 09:33 by nebej