Page 1 of 1

Photoshop texture in MOHRadiant??? How?

Posted: Mon Aug 30, 2004 11:43 pm
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

Posted: Tue Aug 31, 2004 8:47 am
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
	}
}

Posted: Tue Aug 31, 2004 10:32 am
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.

Posted: Tue Aug 31, 2004 11:48 am
by bdbodger
I also think there is a setting in preferences to either show or not show textures that do not have shaders

Posted: Tue Aug 31, 2004 1:54 pm
by m4rine
yes check 'Show Non-Shader Images' ;)

Posted: Wed Sep 01, 2004 1:43 am
by Exones
ok guys it worked now. Nice :)

Thanks a lot


-------------->JimmyJbo