330
edits
No edit summary |
No edit summary |
||
Line 150: | Line 150: | ||
Chance the color selector to black by clicking on it and choosing r = 0, g = 0, b = 0, apply. | Chance the color selector to black by clicking on it and choosing r = 0, g = 0, b = 0, apply. | ||
[[File:Tutorial 08.jpg| | [[File:Tutorial 08.jpg|600px|Color to alpha details]] | ||
Next you can apply some Gaussian blur to each of the channels you have now created (rgba). To save a few steps you can apply the Gaussian blur to the final four channel lightmap, I think you get the same results. | Next you can apply some Gaussian blur to each of the channels you have now created (rgba). To save a few steps you can apply the Gaussian blur to the final four channel lightmap, I think you get the same results. | ||
[[File:Tutorial 09.jpg| | [[File:Tutorial 09.jpg|600px|Applying Gaussian blur]] | ||
The next step combines the channels back into one image that will be the final lightmap used by the shader in FlightGear. | The next step combines the channels back into one image that will be the final lightmap used by the shader in FlightGear. | ||
With the images in order by r, g, b, a Using the dropdown below the Channel/Path/Layer tabs, put the red and green layer to | With the images in order by r, g, b, a Using the dropdown below the Channel/Path/Layer tabs, put the red and green layer to addition. Leave the b layer to normal. Make sure they are the only layers active. The last layer (blue) will show to have all three channels combined. | ||
[[File:Tutorial 10.jpg|600px|Combing color channels by addition]] | |||
Again, I like to copy the last layer (the blue channel) to a new layer. Select that layer and copy it to a new layer or use the "Layer" menu choice "New from visible". That is now a three color (rgb) layer. | |||
Were almost finished, The next step adds the alpha channel to the 3 channel rgb layer you just created. | Were almost finished, The next step adds the alpha channel to the 3 channel rgb layer you just created. | ||
[[File:Tutorial | [[File:Tutorial 11.jpg|600px|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. | |||
[[File:Tutorial 12.jpg|600px|Add layer mask for alpha channel]] | |||
[[File:Tutorial 13.jpg|thumb|Add layer mask details]] | [[File:Tutorial 13.jpg|thumb|Add layer mask details]] |
edits