|
|
@ -434,6 +434,7 @@ class MaterialConverter: |
|
|
|
dtm.hasAlpha = texture.use_alpha |
|
|
|
dtm.hasAlpha = texture.use_alpha |
|
|
|
# if you have a better idea, let's hear it... |
|
|
|
# if you have a better idea, let's hear it... |
|
|
|
dtm.visWidth, dtm.visHeight = 1024, 1024 |
|
|
|
dtm.visWidth, dtm.visHeight = 1024, 1024 |
|
|
|
|
|
|
|
layer.texture = dtm.key |
|
|
|
else: |
|
|
|
else: |
|
|
|
key = _Texture(texture=texture, use_alpha=has_alpha, force_calc_alpha=slot.use_stencil) |
|
|
|
key = _Texture(texture=texture, use_alpha=has_alpha, force_calc_alpha=slot.use_stencil) |
|
|
|
if key not in self._pending: |
|
|
|
if key not in self._pending: |
|
|
|