Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
0.8.4:volumerendering [2022/06/16 13:38] – [Filtering and MipMaps] admin | 0.8.4:volumerendering [2022/06/16 13:41] – [Lighting] admin | ||
---|---|---|---|
Line 378: | Line 378: | ||
Since v0.8.4.2314 lighting and iso surface detection is also supported. | Since v0.8.4.2314 lighting and iso surface detection is also supported. | ||
- | Iso surface detection tries to evaluate a surface during raytracing. Because this method always depends on the data we have you can control this detection by **IsoSurfaceLimit**. | + | Iso surface detection tries to evaluate a surface during raytracing. |
+ | |||
+ | Because this method always depends on the data, you can control this detection by **IsoSurfaceLimit** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <file pascal> | ||
+ | GorillaVolumetricMesh1.IsoSurfaceLimit := 0.125; | ||
+ | </ | ||
+ | |||
+ | When detection of a volume surface was successful, we are able to apply lighting with all available shading models to it. | ||
- | When detection of the volume surface was successful, we are able to apply lighting with all available shading models to it. | ||
The volumetric mesh therefore allows to choose between: Lambert, Phong, Blinn-Phong and PBR. | The volumetric mesh therefore allows to choose between: Lambert, Phong, Blinn-Phong and PBR. | ||
Line 386: | Line 395: | ||
<file pascal> | <file pascal> | ||
- | GorillaVolumetricMesh1.IsoSurfaceLimit := 0.125; | ||
GorillaVolumetricMesh1.ShadingModel := TGorillaShadingModel.smPBR; | GorillaVolumetricMesh1.ShadingModel := TGorillaShadingModel.smPBR; | ||
</ | </ | ||
- | __Notice:__ For PBR (physically based rendering) it does not need any PBR texture, instead it will use the // | + | __Notice:__ For PBR (physically based rendering) it does not need any PBR texture, instead it will use the // |