Board index FlightGear Development Effects and shaders

Using multiple bumpmap images.

An exciting "new" option in FlightGear, that includes reflections, lightmaps, the particle system etc.. A lot is yet to be discovered/implemented!

Using multiple bumpmap images.

Postby StuartC » Sun Dec 12, 2021 8:57 pm

So I have 4 different bumpmap files to use in an eff file to cover an aircraft.

I have tried naming each images file <texture n="1"> <texture n="2"> etc but it applied all the bump files over the whole aircraft at the same time.
am I missing a trick here ?
StuartC
 
Posts: 3175
Joined: Fri Jun 18, 2010 9:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2019.1
OS: W10 64 bit

Re: Using multiple bumpmap images.

Postby Thorsten » Mon Dec 13, 2021 7:26 am

Bump (light, normal, specular...) maps follow the UV-mapping of the texture sheets - if you have the bump mapping different from that, it can't be done with the FG effect system.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Using multiple bumpmap images.

Postby StuartC » Tue Dec 14, 2021 2:26 pm

I got it working, but I had to use a separate eff file for each one.
StuartC
 
Posts: 3175
Joined: Fri Jun 18, 2010 9:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2019.1
OS: W10 64 bit


Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 7 guests