Fix [#22345] ReleaseRenderOpt 2.5 Problem with rendering displacement map
Communicate the existing material displacement feature's strange dependence on both 'normal' and 'displacement' influences better. This will do until the improved displacement is merged from render branch.
This commit is contained in:
@@ -374,7 +374,8 @@ class TEXTURE_PT_influence(TextureSlotPanel):
|
||||
factor_but(col, tex.map_raymir, "map_raymir", "raymir_factor", "Ray Mirror")
|
||||
|
||||
col.label(text="Geometry:")
|
||||
factor_but(col, tex.map_normal, "map_normal", "normal_factor", "Normal")
|
||||
# XXX replace 'or' when displacement is fixed to not rely on normal influence value.
|
||||
factor_but(col, (tex.map_normal or tex.map_displacement), "map_normal", "normal_factor", "Normal")
|
||||
factor_but(col, tex.map_warp, "map_warp", "warp_factor", "Warp")
|
||||
factor_but(col, tex.map_displacement, "map_displacement", "displacement_factor", "Displace")
|
||||
|
||||
|
Reference in New Issue
Block a user