Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
0.8.4:renderpass [2022/05/03 12:20] – created - external edit 127.0.0.10.8.4:renderpass [2022/10/24 09:05] (current) – [Change Renderer Settings] admin
Line 207: Line 207:
 |TRendererFlag.IgnoreRenderTargets|Will not create any of the meta-textures (Albedo, TranslucentAlbedo, Alpha, Position), but will create the final composite texture of BGRA (Windows) / RGBA format.| |TRendererFlag.IgnoreRenderTargets|Will not create any of the meta-textures (Albedo, TranslucentAlbedo, Alpha, Position), but will create the final composite texture of BGRA (Windows) / RGBA format.|
 |TRendererFlag.IgnoreCompositeCtrl|Will not create the embedded composite render pass to merge meta-textures.| |TRendererFlag.IgnoreCompositeCtrl|Will not create the embedded composite render pass to merge meta-textures.|
 +|TRendererFlag.IgnoreEmissiveBlur|Available since v0.8.4.2300+. It disables the embedded emissive blurring stage in default forward-renderer|
 +|TRendererFlag.IgnoreGlobalIllum|Available since v0.8.4.2340+. It disables the embedded global illumination stage with voxelization, path-tracing and final-blurring|
  
 Hint: use both flags if you only want to work with the composite texture. Hint: use both flags if you only want to work with the composite texture.
  
 <file pascal> <file pascal>
-constructor TMyRenderPass.Create(AOwner : TComponent; +// override AfterConstruction changing settings 
-  const AId : String = 'MyRenderPass1');+constructor TMyRenderPass.AfterConstruction();
 begin begin
-  inherited Create(AOwner, AId);+  inherited;
  
   FRendererFlags := [TRendererFlag.IgnoreRenderTargets, TRendererFlag.IgnoreCompositeCtrl];   FRendererFlags := [TRendererFlag.IgnoreRenderTargets, TRendererFlag.IgnoreCompositeCtrl];