View Single Post
# 1 29-01-2011 , 01:51 AM
Registered User
Join Date: Jan 2011
Posts: 2

Alternative to the ramp texture node question

Hi all,

I'm writing a landscape generator tool using python on Maya 2011 and am fine with the technical side of things, but I have a slight issue with how to proceed to texturing the terrain.

I have 3 high resolution textures with matching normal maps. For single textures the following works fine...

PlaceTexture2d plugs into the normal map and texture file nodes (I set repeat to 5 for both U and V in texture2d)

The normal map file node plugs into a bump2d and I set bump2d to tangent space with a low bump amount.

I plug the bump2d and the texture file node into a shader (lambert)

Doing this look great even in the the projective viewport (on high quality) and it render pretty well too.

But when I introduce a ramp texture node and use the RgbTo Hsv to connect the heightmap image to the UVcoords, with three textures in three different inputs of the ramp texture node, everything goes blurry in the projective viewport, and when rendered the normal mapping looks off (but does use the texture repeats when rendered)

I'm guessing the ramp texture node is rather limited and am just wondering if anyone could point me towards a method that will multitexture (using the heightmap image for coords) and maintain the repeatuvs that the three textures use?


Last edited by rebirth34; 29-01-2011 at 01:56 AM.