This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TUTORIAL] Advanced Tileset Specular Mapping  (Read 3585 times)

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
[TUTORIAL] Advanced Tileset Specular Mapping
« on: March 17, 2015, 09:50:51 am »
I'd like to start by saying thanks to Eluo's tutorial for pointing me in the right direction. His tutorial was useful but I didn't like the outcome of my highlights when night-time approached, so I did some experimenting of my own.

So we're going to start from scratch.

Step 1: Create your "_s" file[/u]

After making your custom texture the way that you want, save the file. Copy the file, and add "_s" to the end.


Step 2: Separate the grass from the dirt[/u]

If your texture has only grass on it, or only one texture type on it, you can skip to Step 3.

Select your Magic Wand tool, set the Tolerance to around 10-20, make sure Anti-alias is checked.


Shift+Click some of the grass spots between until you get it all mostly selected.


Ctrl+C to copy, and Ctrl+V to paste onto a new layer. Afterwards, you can hide the old layer. You want it to look kind of bushy but not too clunky. Something like the image I have below. This could take some time to get it just right. I recommend feathering the edges a bit to make it a little smoother and less pixely.


Step 3: Adjusting the levels[/u]

Create a new layer under your initial layer, and fill it with black. This is just to give you a background to see what you're working with for the next few steps.


Select your initial layer and move over to the Channels tab where it shows the RBG. Select the RBG color that best corresponds to your main color. In my case I selected green because I'm working with grass. Ctrl+Click the little preview image right next to the color name, and Ctrl+C to copy.


Go back to the Layers tab, create a new layer, and Ctrl+V to paste the selection onto that new layer. You can delete the other layer.


Go to Image > Adjustments > Levels, and adjust the Input Levels to somewhere between 0.35 and 0.25 until you get something like this.


Move the original texture layer that you hid in Step 2 on top of the new layer, and Ctrl+Alt+G to create a clipping mask. You can hide or delete the Black background layer at this point.


Step 4: End Result[/u]

Select all layers, and Ctrl+E to merge them. Go to File > Save As, and save the file as a PNG.


Make sure that you save it as Interlaced for it to work as an alphamap.


Convert the files into blp, and put them in their respective folders. Now you should have some nice smooth highlights.

Daytime


Nighttime
« Last Edit: March 18, 2015, 02:48:25 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [TUTORIAL] Advanced Tileset Alpha mapping
« Reply #1 on: March 17, 2015, 02:07:21 pm »
It is specular mapping, not alphamapping.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [TUTORIAL] Advanced Tileset Alpha mapping
« Reply #2 on: March 17, 2015, 04:27:31 pm »
Quote from: "Skarn"
It is specular mapping, not alphamapping.

I just saw alpha mapping on Eluo's tutorial and assumed that was what it was called :S
I'm not really familiar with the terminology, I just know how to make it look nicer.

Thanks though, changed title.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TUTORIAL] Advanced Tileset Specular Mapping
« Reply #3 on: March 21, 2015, 03:12:03 am »
Great job man, huge thumbs up!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [TUTORIAL] Advanced Tileset Specular Mapping
« Reply #4 on: May 17, 2015, 08:53:06 pm »
[media:2lc4zz88]http://www.youtube.com/watch?v=4JkCDzdepOs[/media:2lc4zz88]
A short video tutorial on the same theme.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »