RNA/button tweaks:
* Texture -> renamed 'no rgb' to 'rgb to intensity' (btw it's not just for image textures ) * Render -> stamp closed by default - not taking effect, because saved in .B.blend. How do we fix this? * Material -> removed 'Buffer Bias' dependency - it's for receiving shadows, not casting them * Material -> Ray Shadow bias renamed 'Auto Ray bias' - switches between an automatically calculated value vs the specified value
This commit is contained in:
@@ -142,14 +142,12 @@ class MATERIAL_PT_options(MaterialButtonsPanel):
|
||||
sub.itemR(mat, "cast_shadows_only", text="Cast Only")
|
||||
sub.itemR(mat, "shadow_casting_alpha", text="Casting Alpha", slider=True)
|
||||
|
||||
sub.itemR(mat, "ray_shadow_bias")
|
||||
sub.itemR(mat, "ray_shadow_bias", text="Auto Ray Bias")
|
||||
colsub = sub.column()
|
||||
colsub.active = mat.ray_shadow_bias
|
||||
colsub.itemR(mat, "shadow_ray_bias", text="Raytracing Bias")
|
||||
colsub.active = not mat.ray_shadow_bias
|
||||
colsub.itemR(mat, "shadow_ray_bias", text="Ray Shadow Bias")
|
||||
sub.itemR(mat, "cast_buffer_shadows")
|
||||
colsub = sub.column()
|
||||
colsub.active = mat.cast_buffer_shadows
|
||||
colsub.itemR(mat, "shadow_buffer_bias", text="Buffer Bias")
|
||||
sub.itemR(mat, "shadow_buffer_bias", text="Buffer Bias")
|
||||
|
||||
class MATERIAL_PT_diffuse(MaterialButtonsPanel):
|
||||
__idname__= "MATERIAL_PT_diffuse"
|
||||
|
||||
Reference in New Issue
Block a user