Howto:Multi-channel lightmap: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 138: Line 138:




For the alpha channel, duplicate the greayscale layer that you want to convert to the alpha channel.
For the alpha channel, duplicate the greyscale layer that you want to convert to the alpha channel.


[[File:Tutorial 06.jpg|400px|Duplicate greyscale for alpha conversion]]
[[File:Tutorial 06.jpg|400px|Duplicate greyscale for alpha conversion]]
Line 168: Line 168:


[[File:Tutorial 11.jpg|400px|Copying results to new layer]]
[[File:Tutorial 11.jpg|400px|Copying results to new layer]]


While there may be other ways to do this step, I used a mask to add the alpha channel created previously back in. The order here is tricky. First add a layer mask for the alpha channel to be copied into later.
While there may be other ways to do this step, I used a mask to add the alpha channel created previously back in. The order here is tricky. First add a layer mask for the alpha channel to be copied into later.
Line 174: Line 175:




Select Black (full transparency).
[[File:Tutorial 13.jpg|400px|Add layer mask details]]
Copy the greyscale layer you want to put in the alpha channel to the clipboard.
[[File:Tutorial 14.jpg|400px|Copy the alpha layer]]
Once copied, select the mask side of the 3 color channel image. Make sure it is highlighted.
[[File:Tutorial 16.jpg|400px|Selecting the mask, make it active]]
Then paste the clipboard back to the list.
[[File:Tutorial 17.jpg|400px|Paste the copied alpha layer]]


[[File:Tutorial 13.jpg|thumb|Add layer mask details]]


[[File:Tutorial 14.jpg|thumb|Copy the alpha layer]]
Now anchor the pasted layer to the selected mask.


[[File:Tutorial 16.jpg|thumb|Selecting the mask, make it active]]
[[File:Tutorial 18.jpg|400px|Anchor the pasted alpha layer to the mask]]


[[File:Tutorial 17.jpg|thumb|Paste the copied alpha layer]]


[[File:Tutorial 18.jpg|thumb|Anchor the pasted alpha layer to the mask]]
That is it, you now have a four channel lightmap with up to four differnet light configurations per channel to use in FlightGear.


[[File:Tutorial 19.jpg|thumb|The finished four channel lightmap with included alpha channel mask (rgba)]]
[[File:Tutorial 19.jpg|800px|The finished four channel lightmap with included alpha channel mask (rgba)]]


[[File:Tutorial 20.jpg|thumb|Close up visual of final four channel lightmap ready for export to FlightGear]]
[[File:Tutorial 20.jpg|thumb|Close up visual of final four channel lightmap ready for export to FlightGear]]
330

edits