Value correction

From polycount
Jump to: navigation, search

Value Correction

Value correction is a texturing method that allows you to remove problems in value variation from a source image. This is a common problem when trying to create tiling textures, and is often due to uneven lighting in the source image.

Lab Color Technique

The following Photoshop technique will help you remove value variation but retain the hue variation.

Step 1: Here is a common source image, which looks ripe for usage as a texture!
Value correction step1.jpg
Image from [1]
Step 2: Using Filter -> Other -> Offset reveals that there is uneven lighting in this image, making it difficult to tile. How unfortunate!
Value correction step2.jpg
Image by Carlos 'cman2k' Montero
Step 3: Go to Image -> Mode -> Lab Color. In your channels, notice that you now have a LIGHTNESS channel. select that channel and notice how you can see clearly how much value variation exists!
Value correction step3.jpg
Image by Carlos 'cman2k' Montero
Step 4:Go to Filters -> Other -> High Pass and vary the amount until most of the lighting variation is gone. In addition, you can use dodge and burn in this mode to try and hand-fix value variation problems and try to get things as even as possible.
Value correction step4.jpg
Image by Carlos 'cman2k' Montero
Step 5: Notice that much of your Value variation is now gone!
Value correction step5.jpg
Image by Carlos 'cman2k' Montero
Step 6:Some standard clone-brushing helps you create a tiling texture like you normally would.
Value correction step6.jpg
Image by Carlos 'cman2k' Montero
Step 7: Using Levels and Offset again shows that you have a wonderful tiling texture with very little tiling problems. As a happy side-effect, this technique also has a habit of subduing lighting information (shadows & highlights) which is great for dynamic lighting with normal maps and specular in most engines.
Value correction step7.jpg
Image by Carlos 'cman2k' Montero

Note: This is useful for removing contrast, but some of that contrast is good to have and you may not want to remove it all. Experiment with keeping a copy of image that hasn't been equalized in this way, and masking contrast back in only where you want it. For instance, you could make a value-equalized version and paint it in only over the seams you are trying to remove.

Original thread: http://www.polycount.com/forum/showthread.php?p=1169603#post1169603


Personal tools
Namespaces

Variants
Actions
Navigation
Tools