Jump to content
Sign in to follow this  
arconymous

Black textures in buldozer, simple solution?

Recommended Posts

Hello,

 

i have some problems with the terrain builder or buldozer. Everytime, when i create a second mapframe, generate the layers and go into the buldozer, the textures goes from sat-image to black, while zooming in. I followed captncaps' tutorial :

 

https://www.youtube.com/watch?v=9ZJmUb1eZpo

 

Here are my files:

 

layers.cfg

class Layers
{
	class grass_green
	{
		texture = "";
		material = "Arco\myterrain\data\gdt_grass_green.rvmat";
	};
};

class Legend
{
	picture = "Arco\myterrain\source\mapLegend.png";

	class Colors
		{
			grass_green[] = {{0,255,0}};
		};	
};		

gdt_grass_green.rvmat

ambient[]={1.5,1.5,1.5,1};
diffuse[]={0.5,0.5,0.5,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=1;
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
	texture="Arco\myterrain\data\gdt_grass_green_nopx.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};
class Stage2
{
	texture="Arco\myterrain\gdt_grass_green_co.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};

Every file can be found at the directory that is in the code.

Please help me, i'll freak out with this problem :/

 

p.s. sorry for my bad english, i hope everything is understandable.

 

Arconymous

 

Share this post


Link to post
Share on other sites

Hello,

 

now, its working, the problem was, i was using one texture instead of 4

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×