Browse Source

Merge pull request #72 from dpogue/reflect-flags

Use Reflection Xform for env maps
pull/73/head
Adam Johnson 7 years ago committed by GitHub
parent
commit
c33e17d6ce
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -520,7 +520,7 @@ class MaterialConverter:
if layer is not None:
layer.UVWSrc = plLayerInterface.kUVWReflect
layer.state.miscFlags |= hsGMatState.kMiscUseRefractionXform
layer.state.miscFlags |= hsGMatState.kMiscUseReflectionXform
# Because we might be working with a multi-faced env map. It's even worse than have two faces...
for i in faces:

Loading…
Cancel
Save