Jump to content

  • Log In with Google      Sign In   
  • Create Account


Tinting a face in 3ds Max 2012 (Minecraft)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 incertia   Crossbones+   -  Reputation: 777

Like
0Likes
Like

Posted 18 March 2012 - 07:24 PM

Minecraft uses a few grayscale textures that get tinted depending on whatever biome the block currently resides in. Strictly speaking, that means one must tint the grayscale texture in 3ds Max to create minecraft cg.While tinting the entire terrain.png file is easy by using a color map in a standard material, I am not quite sure how to only tint one specific area of a texture.

This mainly applies to leaves and grass (pictures below):
Posted Image

Posted Image

Posted Image

As you can see, the top of the grass block and the leaf block are not tinted green. I would like to use some object-specific tinting method so I only need to use one terrain.png file and be able to create grass/leaves of all shades just by adjusting the tint amount.
what

Sponsor:

#2 Relfos   Members   -  Reputation: 311

Like
0Likes
Like

Posted 19 March 2012 - 06:08 AM

With shaders is easy (and can be done without shaders using texture combiners).
Use the alpha channel as mask, 1 = tintable areas, 0 = non-tintable areas
In pseudocode:
Final color = (texture.a-1) * texture.rgb + (texture.a) * tintcolor.rgb

(You can also multiply the tintcolor.rgb by the texture.rgb if you want)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS