Game Development Community

Normal mapped terrain question [Resolved]

by Alex Huck · in Torque 3D Professional · 11/08/2009 (9:36 pm) · 9 replies

This may be a bug or maybe I'm just not doing it right...

Normal mapped terrain creates strange stretched circles around the terrain when the camera is near

i11.photobucket.com/albums/a194/Alex_Huck/NormalTerr.png
This happens for any normal map I try to apply, here are my terrain textures that I used in this example:

Diffuse:
i11.photobucket.com/albums/a194/Alex_Huck/DirtyGrass.png
Normal:
i11.photobucket.com/albums/a194/Alex_Huck/DirtyGrass_N.png
I am using the Diffuse as a detail texture as well in the terrain Texture material editor.
Parallax scale was set to 1.0 I have also tested 0.1, the effect is reduced but still the same, just little stretched rings in a radius around the camera.

#1
11/08/2009 (10:55 pm)
Adding a height map to the alpha channel of the normal map to use the parallax value.


#2
11/08/2009 (11:55 pm)
Ah, many thanks I will keep this in mind, lemme see if I can remove the [Bug] tag from the thread
#3
11/09/2009 (6:15 pm)
This was really good information. Thanks.
I'm having a problem though. I cant afford PhotoShop
so if anyone could tell how to add the alpha map channel
using GIMP it would be great.

I'm using Gimps Normal Map plugin.
#4
11/09/2009 (6:26 pm)
S.O.S. Michael Hall is M.I.A.

I will try my best if Michael or somebody else doesn't answer before I get home, I love GIMP but never tried that plug-in.
#5
11/09/2009 (7:25 pm)
Master OmegaDog...
where can down that plug-in?
where can buy?
#6
11/09/2009 (11:45 pm)
@Szzg007 No plugin required to merge except paint program PhotoShop, PaintShopPro, Gimp. To make maps use GIMP plugin or Nvidia's for PhotoShop, CrazyBump or ShaderMap Pro.

#7
11/10/2009 (12:15 am)
G.I.M.P. 2.6



Using the file menu open both maps normal and displacement.


On Displacement Map:

ImageMenu->Mode->Greyscale
EditMenu->copy


On Normal Map:

LayerMenu->Transparency->Add Alpha Channel
LayerMenu->Mask->Add New Layer Mask

LayerPopup->Select->Layer's Alpha Channel
LayerPopup->Click Add Button

LayersTab->Click white area under background->Ctrl V
LayersTab->RightClick Floating Selection(pasted layer)->Menu->Anchor Layer

Look at ChannelTab->See that the alphas filled in.

Save as TGA(nor RLE) or DDS

Cheers


btw FRAPS 3.0 does desktop/gui sweet!
#8
11/10/2009 (4:29 am)
OmegaDog
My hat off for you.
I really appreciate your help.

Many Thanks
Roland

#9
01/03/2010 (5:22 pm)
Does anyone know how to do this in Paintshop Pro?