Skip to content

Commit

Permalink
Blender 4.3 Eevee Hashed/Dithered mode compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbui78 committed Nov 13, 2024
1 parent 041294f commit 7ce9cb5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ def eevee_alpha(mat, mode, value):
pass
else:
mat.blend_method = mode
if mode == "HASHED" or mode == "BLEND":
if mode == "BLEND":
mode = "CLIP"
mat.shadow_method = mode
if value > 0 and mode == "CLIP":
mat.alpha_threshold = value
if BV < 4.03:
if mode == "HASHED" or mode == "BLEND":
if mode == "BLEND":
mode = "CLIP"
mat.shadow_method = mode
if value > 0 and mode == "CLIP":
mat.alpha_threshold = value
else:
if mode == "HASHED":
mat.surface_render_method = "DITHERED"
else:
mat.surface_render_method = "BLENDED"


def rigify_finger():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bl_info = {
"name": "DazToBlender",
"author": "Daz 3D | https://www.daz3d.com",
"version": (2024, 2, 14, 100),
"version": (2024, 2, 15, 105),
"blender": (2, 80, 0),
"location": "3DView > ToolShelf",
"description": "Daz 3D transfer to Blender",
Expand Down
Binary file modified DazStudioPlugin/Resources/blenderaddon.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions DazStudioPlugin/real_version.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#define PRODUCT_VERSION_STRING "2024 version 2.14"
#define PRODUCT_VERSION_STRING "2024 version 2.15"
#define VER_MAJOR 2024
#define VER_MINOR 2
#define VER_REV 14
#define VER_BUILD 100
#define VER_REV 15
#define VER_BUILD 105

#define TOSTRING(x) #x
#define VERSION_STRING TOSTRING(VER_MAJOR) "." TOSTRING(VER_MINOR) "." TOSTRING(VER_REV) "." TOSTRING(VER_BUILD)

0 comments on commit 7ce9cb5

Please sign in to comment.