Eevee: SSR: Add stride and thickness parameters.

Also polished the raytracing algorithm.
This commit is contained in:
2017-07-21 23:48:48 +02:00
parent 18aa6cf1cc
commit a3732412ad
7 changed files with 67 additions and 33 deletions

View File

@@ -212,6 +212,8 @@ static void EEVEE_scene_layer_settings_create(RenderEngine *UNUSED(engine), IDPr
props->subtype == IDP_GROUP_SUB_ENGINE_RENDER);
BKE_collection_engine_property_add_bool(props, "ssr_enable", false);
BKE_collection_engine_property_add_int(props, "ssr_stride", 16);
BKE_collection_engine_property_add_float(props, "ssr_thickness", 0.5f);
BKE_collection_engine_property_add_bool(props, "volumetric_enable", false);
BKE_collection_engine_property_add_float(props, "volumetric_start", 0.1f);