|
|
@ -49,7 +49,8 @@ class PlasmaBlendMod(PlasmaModifierProperties): |
|
|
|
items=[("AUTO", "(Auto)", "Let Korman decide when to render this object."), |
|
|
|
items=[("AUTO", "(Auto)", "Let Korman decide when to render this object."), |
|
|
|
("OPAQUE", "Before Avatar", "Prefer for the object to draw before the avatar."), |
|
|
|
("OPAQUE", "Before Avatar", "Prefer for the object to draw before the avatar."), |
|
|
|
("FRAMEBUF", "Frame Buffer", "Prefer for the object to draw after the avatar but before other blended objects."), |
|
|
|
("FRAMEBUF", "Frame Buffer", "Prefer for the object to draw after the avatar but before other blended objects."), |
|
|
|
("BLEND", "Blended", "Prefer for the object to draw after most other geometry in the blended pass.")], |
|
|
|
("BLEND", "Blended", "Prefer for the object to draw after most other geometry in the blended pass."), |
|
|
|
|
|
|
|
("LATE", "Late", "Prefer for the object to draw late in the blended pass.")], |
|
|
|
options=set()) |
|
|
|
options=set()) |
|
|
|
sort_faces = EnumProperty(name="Sort Faces", |
|
|
|
sort_faces = EnumProperty(name="Sort Faces", |
|
|
|
description="", |
|
|
|
description="", |
|
|
@ -73,6 +74,10 @@ class PlasmaBlendMod(PlasmaModifierProperties): |
|
|
|
def draw_framebuf(self): |
|
|
|
def draw_framebuf(self): |
|
|
|
return self.render_level == "FRAMEBUF" |
|
|
|
return self.render_level == "FRAMEBUF" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
|
|
|
|
def draw_late(self): |
|
|
|
|
|
|
|
return self.render_level == "LATE" |
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
@property |
|
|
|
def draw_no_defer(self): |
|
|
|
def draw_no_defer(self): |
|
|
|
return self.render_level != "BLEND" |
|
|
|
return self.render_level != "BLEND" |
|
|
|