Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utes concrete texture is broken #6

Open
DJFlex opened this issue Mar 14, 2022 · 0 comments
Open

Utes concrete texture is broken #6

DJFlex opened this issue Mar 14, 2022 · 0 comments

Comments

@DJFlex
Copy link

DJFlex commented Mar 14, 2022

To fix this issue simply resave the following files as a .paa in Tex2view

utes_concrete_nopx.tga
utes_concrete_ca.tga

then simply edit the utes_concrete.rvmat

ambient[] = {1,1,1,1};
diffuse[] = {1,1,1,1};
forcedDiffuse[] = {0.02,0.02,0.02,1};
specular[] = {0.9,0.9,0.9,1};
specularPower = 20;
emmisive[] = {0,0,0,0};
PixelShaderID = "NormalMapDiffuse";
VertexShaderID = "VSTerrain";

class Stage1
{
texture="samples\test_terrain\data\surfaces\data\utes_concrete_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="samples\test_terrain\data\surfaces\data\utes_concrete_ca.paa";
uvSource="tex";
class uvTransform
{
aside[] = {10,0,0};
up[] = {0,10,0};
dir[] = {0,0,10};
pos[] = {0,0,0};
};
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant