Photoshop texture in MOHRadiant??? How?

Post your skinning / modelling questions or answers here

Moderator: Moderators

Post Reply
Exones
Private
Posts: 6
Joined: Mon Jul 19, 2004 7:02 pm

Photoshop texture in MOHRadiant??? How?

Post by Exones »

I make a simple metal texture in PS save it as mymetal.tga and 24 bits. Then i create a textures/models/metals/ in mainta or main directory. Still i cant see my new texture in Radiant when i load the metals from the textures. Any help please???







----------->Exones
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Make a .shader file for it and put the file in the main/scripts directory . A shader file can be made with notepad and saved with any file name with a .shader extention . A shader looks like this one . Try just changeing the texture names to your texture names and path .

Code: Select all

textures/general_industrial/ibeam_flat2
{
	qer_keyword trim
	qer_keyword rusted
	qer_keyword metal
	surfaceParm metal
	{
		map textures/general_industrial/ibeam_flat2.tga
		rgbGen identity
		depthWrite
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
		depthFunc equal
	}
}
Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

or you could simply load the metal folder in textures and type in the grey box 'mymetal.tga'. as soon as u type 'm' it should appear. but if you want u texture to be walked upon, use the shader.
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I also think there is a setting in preferences to either show or not show textures that do not have shaders
Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

yes check 'Show Non-Shader Images' ;)
"We must become the change we want to see in the world" (Mahatma Gandhi)
Exones
Private
Posts: 6
Joined: Mon Jul 19, 2004 7:02 pm

Post by Exones »

ok guys it worked now. Nice :)

Thanks a lot


-------------->JimmyJbo
Post Reply