Remove light from your texture is the step by step walkthrough for Tip 3: Clean your maps in my “Texturing Digital Vegetation”-article.
Usually, it pays to rescan the texture, or to find a better alternative (Like complaining to the person who sold it to you – if you did not scan or shoot it yourself).
However, if that’s not an option, here’s a basic, brute-force technique you can use to clean up an issue like this. I’ll use a leaf from the birch in the main illustration as a basic example.
Remember to save as you go, and to experiment – what may look OK on the texture in this walk-through, may need some tweaks on a different one.
Brute force cleanup
If you have to work with a texture that is very damaged, or overlit, your best bet may be to do a total texture reboot – this means getting rid of the initial colour, whilst keeping (most) of the image’s details. The simplest way to do this, is to use a High Pass filter, and use it as a base for recolouring your texture. Mostly used as an alternative to the Unsharp Mask, or Smart Sharpen filters by photographers, the High Pass filter is also a genius way to clean up and recolour bad textures, as it retains noise and leaves any area which is not an edge untouched. At a low (1-5) setting, it also gives you a superflat greyscale texture which will facilitate a good basis for bump- and normalmapping. We want to get rid of the overly lit areas in the leaf on the right, and make them more even – like the leaf on the right. Use the techniques outlined below to fine-tune your own images – even brute force hacks can benefit from a little finesse.
- Step 1: I’ve created a small 756×756 file for you to practise on – Birchleaf1.TIF. Grab and open it from the Downloads tab on top of the page.
- Step 2: Create a new layer on top of Original Leaf, SHIFT+CTRL/CMD+N and call it Background.
- Step 3: Fill it with green, i.e RGB 69, 94,29
- Step 4: Duplicate the Original_Leaf layer on top of Background and call it HighPass.
- Step 5: Duplicate HighPass on top of itself, and name it ReColour
- Step 6: Turn the layer off by clicking the eye next to it
- Step 7: Select the HighPass Layer – this layer will control the initial flattening of the image
- Step 8: Go to Filters>Other>HighPass, and set it to 4 or 5. As you can see, this completely evens the leaf out in greyscale
- Step 9: Because of the low-resolution scan, there’s a lot of noise in the texture. Go to Filter>Reduce Noise. As this will be a background, and not a hero-texture, we shouldn’t worry too much about losing detail. Therefore, set strength to 10 and the other sliders to 0. Remove JPG-artfeacts doesn’t do much on this particular leaf, so it’s up to you whether you want to check it or not. I didn’t.
- Step 10: Select the ReColour layer, turn it on, and set it to Soft Light in the Layer Palette
- Step 11: As you can see, we now have a very flat, but greenish leaf, with some detail, and greyish green instead of the overlit areas.
- Step 12: CTRL/CMD + Click the ReColour Layer’s thumbnail to select the alpha
- Step 13: SHIFT+CTRL/CMD+N to create a new layer, and name it ReColour_Equaliser
- Step 14:Fill it with i.e RGB 69, 94,29 and set it to overlay. You now have a very basic, but flat texture. For variation, try setting the ReColour layer to Color Dodge, or varying the greens
Making your colours pop
You could say we’re all done at this stage – the texture is flat, and ready to be used as a filler, or overpaint-base – with some detail from the stem left in. However, if you’d like to take it a step further, and pop a little more vibrance and detail into the leaf, use adjustment layers – they will give you a lot of non-invasive freedom in tailoring a texture to your exact needs :
- Step 1: Add a layer between ReColour_Equaliser and Channel Mixer, name it ReColour_Darken
- Step 2: Fill it with RGB 23, 39,13
- Step 3: Set it to Color Dodge, (you can also use Screen or Linear Dodge for a more springlike green – but you’ll need to tone its vibrance down a bit)
- Step 4: Go to Layer>New Adjustment Layer>Levels. We’re using Levels to “buffer” the harshness of the next Adjustment Layer we’re setting up
- Step 5: Set the numbers in the layer dialog to 0, 1.18, 255 – we’re using grey to drive the “buffer”
- Step 6: For once, we’ll leave the layer on normal.
- Step 7: Go to Layer>New Adjustment Layer>Channel Mixer
- Step 8: In the Channel Mixer, set the channels to RGB 120,118, 22 (Which is OK for now, we’re not going to put this in a closeup on TV, so the colours don’t need to make up an even 100. We’re boosting the red to make the veins stand out, and “mature” the green – Birchleaves in late summer are quite dark. The result will look very reddish/yellowish, and not in a good way.
- Step 9: Set it to Overlay. Presto – leaf with decent veins!
If you’d like to turn down the vibrance of the colours, try using a Brightness/Contrast asjustment layer, and reducing the opacity of the ReColour_Darken layer to 50%. I set the adjustment layer to -26 Brightness and -29 Contrast, with use legacy checked. To tone down the yellow – use colour theory, and use a purple- or blue-tinged overlay, either via Fill- or Adjustment Layer
Cleanup and finalisation
Now we’re done, time to clean up our file:
- Step 1: Create a folder in the Layer Palette, and call it Originals
- Step 2: Select Original_Leaf, Highpass, ReColour, ReColour_Equaliser, ReColour_Darken and Channel Mixer, and move them into Originals
- Step 3: Duplicate them by rightclicking
- Step 4: Move the copies out of the folder
- Step 5: Press CTRl/CMD + E to flatten the duplicated layers, and call it BirchLeaf_Final. This ensures that you can always go back and change things
- Step 6: Make sure only the Birchleaf_Final and the Background layer are visible by turning off the visibility of the Originals Folder. Click the eye next to it
- Step 7: CTRL/CMD + Click BirchLeaf’s thumbnail in the Layer palette – you should see a selection appear
- Step 8: Click the Channels tab
- Step 9: Press “create new channel from Selection”at the bottom of the palette - this will automatically create an Alpha.
- Step 10: Rename it to Alpha from Alpha 1. Make sure its not on or active when you return to the layers palette (Make sure the RGB layer is visible and active in channels, if you’re not sure)
- Step 11: Return to Layers. Before you deselect, press SHIFT+CTRL/CMD+I to invert your selection. Press Delete, in order to make sure the layer is clean outside the leaf.
- Step 12: Deselect (CTRL/CMD+D) – all done.
By downloading the files you agree not to:
- or republish
- -any of the files on this page.
Using the textures for your own (commercial) rendered images is perfectly fine, and I don’t need you to credit me.
Here is a sample Vue texture setup as used in the renders shown – I only have Vue 2014 installed, so I couldn’t test with older Vue versions