Browse Source

Merge pull request #318 from Jrius/envmap_fog_fix

Dynamic envmap: let the engine use default fog settings.
pull/319/head
Adam Johnson 2 years ago committed by GitHub
parent
commit
1e198a1cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      korman/exporter/material.py

3
korman/exporter/material.py

@ -742,9 +742,8 @@ class MaterialConverter:
pl_env.incCharacters = texture.plasma_layer.envmap_addavatar
# Perhaps the DEM/DCM fog should be separately configurable at some point?
pl_fog = bpy.context.scene.world.plasma_fni
pl_env.color = utils.color(texture.plasma_layer.envmap_color)
pl_env.fogStart = pl_fog.fog_start
pl_env.fogStart = -1.0
# EffVisSets
# Whoever wrote this PyHSPlasma binding didn't follow the convention. Sigh.

Loading…
Cancel
Save