mirror of
https://github.com/H-uru/korman.git
synced 2025-07-14 22:36:52 +00:00
Don't force clamping on stencils
This commit is contained in:
@ -166,7 +166,8 @@ class MaterialConverter:
|
||||
if slot.use_stencil:
|
||||
hsgmat.compFlags |= hsGMaterial.kCompNeedsBlendChannel
|
||||
state.blendFlags |= hsGMatState.kBlendAlpha | hsGMatState.kBlendAlphaMult | hsGMatState.kBlendNoTexColor
|
||||
state.clampFlags |= hsGMatState.kClampTexture
|
||||
if slot.texture and slot.texture.type == "BLEND":
|
||||
state.clampFlags |= hsGMatState.kClampTexture
|
||||
state.ZFlags |= hsGMatState.kZNoZWrite
|
||||
layer.ambient = hsColorRGBA(1.0, 1.0, 1.0, 1.0)
|
||||
|
||||
|
Reference in New Issue
Block a user