Blue and green colours in 'low res' terrain texture

Started by Giftheck, May 17, 2017, 08:23:20 AM

Previous topic - Next topic
I'm getting an issue where I have blue-green colours in my lowres terrain texture, and it's causing the terrain to take on that same hue in-game.

Here's the terrain texture in question:

[spoiler][/spoiler]

I thought it was because I changed the colour of my terrain (to a darker grey) but even removing the colour does not solve the issue. Removing the texture entirely doesn't solve it either as zeroeditor generates a duplicate of this when I save.
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base

Is your terrain texture exactly two dimensional.I mean if its like 512x1024 for example or 128x256,256x512 it will work however i find out that there is a weird color when you watching from the side such textures.Try 512x512 or 1024x1024.If its not this i really dont know what might by.I think you want to keep the map for now in secret however showing us how the problem ingame with one picture will help us alot to understand clearly your problem Gistech...  :g:

All my terrain textures are 512x512. I'll post a screenshot soon of what it looks like ingame.
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base

Here's how it looks ingame.

In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base

1.Hmm.I never had such a problem while i was modding Battlefront 1.Try opening thouse textures in your paint program,gimp,photoshop whatever you using and try re export them with RLE compression removed.Some times this actually is helping.Remunge them after that.Here is example:I once used Battlefield 3 textures in Battlefront 2 and they were working fine however when i look one of thouse textures for example applyed to a wall and when i look it from the side i was seeing a green kinda color on them.So i just re-opened the textures in Gimp and re-exported them with RLE uncheck and that fixed the problem.Maybe it will work and for you who knows....

2.Is this problem appearing only for certain ground textures or its for all textures that are used for the terrain?If so better check your sky file.Maybe you put some color terrain value or something like that...

Reverting the sky file back to its original settings seems to have resolved the issue for the moment but my terrain is now way too bright. Some more tinkering is a must.
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base

Now try using the COLOR section in ZERO EDITOR.Maybe gray will be nice just to remove the brightness.

I think i have it figured out. Thanks Ginev :)
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base

Nope, still getting those wierd colours ingame.

But my lowres texture is now devoid of them.

So that has me moving to my sky file. Here's what I have:

SkyInfo()
{
    ObjectVisibility(250.000000, 500.000000, 750.000000);
    FogColor(128, 128, 128);
FogRange(0.000000, 3000.000000);
NearSceneRange(60.0, 150.0, 75.0, 200.0);
        FarSceneRange(1000.000000, 1000.0);
AmbientColor(78, 87, 91);
        TopDirectionalAmbientColor(120, 101, 76);
        BottomDirectionalAmbientColor(126, 70, 35);
        CharacterAmbientColor(209,156,73);
        VehicleAmbientColor(189, 136, 53);
Enable(1559);
FogRamp(3);
}

SunInfo()
{
Angle(145.000005, 150.000000);
Color(210, 200, 190);
Texture("");
    Degree(90.000011);
    BackAngle(180.000022, 0.000000);
    BackColor(128, 128, 128);
    BackDegree(0.000000);
}


DomeInfo()
{
        Texture("sky_scarif_1.tga");
Angle(190.000005);
Ambient(256.000038, 256.000038, 256.000038);
Filter(1);
Threshold(50);
Intensity(50);
Softness(1);
SoftnessParam(60);

    DomeModel()
    {
        Geometry("sky_scarif_1");
Reflect();
    }

    LowResTerrain()
    {
        Texture("scarif1");
        PatchResolution(7);
        FogNear(300.0);
        FogFar(700.0);
        FogColor(142,82,38, 128);
        DetailTexture("kas2_far_detail");
        DetailTextureScale(0.25);
    }
}


//Big rep flyer
SkyObject()
{
    Geometry("imp_fly_destroyer_DOME");
    NumObjects(2);
    Height(500, 600);
    VelocityZ(20, 50);
    Distance(1500);
    InDirectionFactor(2);
}

//IMP fighters
SkyObject()
{
    Geometry("emp_fly_reaper_dome_1");
    NumObjects(10);
    Height(480, 540);
    VelocityZ(80, 120);
    VelocityY(-10, 10);
    Distance(600);
    InDirectionFactor(0.5);
}

SkyObject()
{
    Geometry("emp_fly_reaper_dome_2");
    NumObjects(5);
    Height(480, 540);
    VelocityZ(80, 120);
    VelocityY(-10, 10);
    Distance(600);
    InDirectionFactor(0.5);
}

SkyObject()
{
    Geometry("emp_fly_striker_dome_1");
    NumObjects(10);
    Height(480, 540);
    VelocityZ(80, 120);
    VelocityY(-10, 10);
    Distance(600);
    InDirectionFactor(0.5);
}

SkyObject()
{
    Geometry("emp_fly_striker_dome_2");
    NumObjects(5);
    Height(480, 540);
    VelocityZ(80, 120);
    VelocityY(-10, 10);
    Distance(600);
    InDirectionFactor(0.5);
}

//ALL fighters
SkyObject()
{
    Geometry("reb_fly_uwing_dome_1");
    NumObjects(2);
    Height(480, 540);
    VelocityZ(80, 100);
    VelocityY(-10, 10);
    Distance(300);
    InDirectionFactor(0.5);
}

SkyObject()
{
    Geometry("reb_fly_uwing_dome_2");
    NumObjects(2);
    Height(480, 540);
    VelocityZ(80, 100);
    VelocityY(-10, 10);
    Distance(300);
    InDirectionFactor(0.5);
}

SkyObject()
{
    Geometry("reb_fly_xwing_dome_1");
    NumObjects(10);
    Height(480, 540);
    VelocityZ(80, 100);
    VelocityY(-10, 10);
    Distance(300);
    InDirectionFactor(0.5);
}

SkyObject()
{
    Geometry("reb_fly_xwing_dome_2");
    NumObjects(3);
    Height(480, 540);
    VelocityZ(80, 100);
    VelocityY(-10, 10);
    Distance(300);
    InDirectionFactor(0.5);
}
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base

I know that some .fx files (located in your world1 folder) have also some parameters that can touch colors in game so check also for such file and look if there are some parameters that may mess with your sky file.Who knows....


May 19, 2017, 03:02:54 PM #10 Last Edit: May 19, 2017, 03:37:24 PM by Gistech
I'm starting to think it's because I altered the original textures to 512x512 from 1024x1024. So I'm trying replacing the textures with the original versions.

If all else fails, I can upload my World folder and you guys can see what I've done wrong.

EDIT: That didn't work.
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1
--Endor: Imperial Base