It is currently Sun Sep 22, 2019 8:28 am


Advanced Lightning Shader in a MapScape map with Lightmap?

Any thing to do with map scape, post and read about it here.
  • Author
  • Message

Madthod

  • Posts: 1
  • Joined: Sat Nov 22, 2014 3:32 pm

Advanced Lightning Shader in a MapScape map with Lightmap?

PostSat Nov 22, 2014 4:36 pm

Hi,

i want to import a map i created in MapScape into DBPro, while I am also using the Advanced Lightning Shader in my Program.

The problem is, that I can't add Lightmap (created in MapScape) to the Map after i used Object_add() on it, and after i used one of the Shaders from ADVLightning (diffuse.x/NormalMap.fx/EnvironmentMap.fx... ==>Effect_add()).

Unfortunately the "LightMap.fx" Shader (used to implement the LightMap from MapScape into DBPRO) doesn't seem to be compatible with AdvancedLightning.

Honestly I don't know very much about shader programming and i'm using the ADVLightning without understanding how it really works.


I hope you understood my problem and that there's a solution for it.

Thanks for the help.

christianclavet

  • Posts: 4
  • Joined: Sat Nov 01, 2014 7:53 pm

Re: Advanced Lightning Shader in a MapScape map with Lightma

PostSun Jan 04, 2015 6:17 pm

From what I know shaders are used as materials. If you change the material from Lightmap to Environment map, it won't support lightmaps.

You would need to find a way to combine the material or to combine the shaders to it support both types of maps.

Return to Map scape



cron