SCS Software

message board
It is currently 28 Apr 2017 14:04

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 29 Jul 2016 16:37 
Offline
User avatar

Joined: 30 Jun 2015 03:56
Posts: 899
Location: Ontario, Canada
Like the title says, when negative values are set for add_ambient (SCS' artists use -0.25 as part of their chrome effect), the exported trait file has a value of 0 instead. I've tried manually editing the affected trait files and turning auto export off. The conversion tools seem to preserve the add_ambient value in this case, but then I run into another issue where the diffuse colour in the converted mat file doesn't match the diffuse colour in the trait file. I feel like I'm playing 'whac-a-mole.' :lol:

One of the affected trait files (material in question is the 'chrome' look for alias 'alcoa_r'; the default look exports and converts without issue):
Code:
# Look Names:
#   default
#   chrome
#
# Variant Names:
#   right
#   left
#
Header {
    FormatVersion: 1
    Source: "Blender 2.76.0 (hash: f337fea), SCS Blender Tools: 1.4.4ae6843"
    Type: "Trait"
    Name: "r_alcoa_225x825"
}
Global {
    LookCount: 2
    VariantCount: 2
    PartCount: 2
    MaterialCount: 3
}
Look {
    Name: "default"
    Material {
        Alias: "alcoa_logo"
        Effect: "eut2.dif.spec.over"
        Flags: 0
        AttributeCount: 5
        TextureCount: 1
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 0.4672015905380249 0.4672015905380249 0.4672015905380249 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_logo"
        }
    }
    Material {
        Alias: "r_hub"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.5225210189819336 0.5225210189819336 0.5225210189819336 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 0.8209999799728394 0.8209999799728394 0.8209999799728394 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 0.20000000298023224 0.6000000238418579 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
    Material {
        Alias: "alcoa_r"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.5225210189819336 0.5225210189819336 0.5225210189819336 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 0.8209999799728394 0.8209999799728394 0.8209999799728394 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 0.20000000298023224 0.6000000238418579 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
}
Look {
    Name: "chrome"
    Material {
        Alias: "alcoa_logo"
        Effect: "eut2.dif.spec.over"
        Flags: 0
        AttributeCount: 5
        TextureCount: 1
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 0.4672015905380249 0.4672015905380249 0.4672015905380249 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_logo"
        }
    }
    Material {
        Alias: "r_hub"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.5225210189819336 0.5225210189819336 0.5225210189819336 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 0.8209999799728394 0.8209999799728394 0.8209999799728394 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 0.20000000298023224 0.6000000238418579 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
    Material {
        Alias: "alcoa_r"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.2630000114440918 0.2630000114440918 0.2630000114440918 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 70.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 1.2999999523162842 1.2999999523162842 1.2999999523162842 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 1.0 1.0 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
}
Variant {
    Name: "right"
    Part {
        Name: "l"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 0 )
        }
    }
    Part {
        Name: "r"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 1 )
        }
    }
}
Variant {
    Name: "left"
    Part {
        Name: "l"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 1 )
        }
    }
    Part {
        Name: "r"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 0 )
        }
    }
}



How it should look:
Code:
# Look Names:
#   default
#   chrome
#
# Variant Names:
#   right
#   left
#
Header {
    FormatVersion: 1
    Source: "Blender 2.76.0 (hash: f337fea), SCS Blender Tools: 1.4.4ae6843"
    Type: "Trait"
    Name: "r_alcoa_225x825"
}
Global {
    LookCount: 2
    VariantCount: 2
    PartCount: 2
    MaterialCount: 3
}
Look {
    Name: "default"
    Material {
        Alias: "alcoa_logo"
        Effect: "eut2.dif.spec.over"
        Flags: 0
        AttributeCount: 5
        TextureCount: 1
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 0.4672015905380249 0.4672015905380249 0.4672015905380249 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_logo"
        }
    }
    Material {
        Alias: "r_hub"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.5225210189819336 0.5225210189819336 0.5225210189819336 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 0.8209999799728394 0.8209999799728394 0.8209999799728394 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 0.20000000298023224 0.6000000238418579 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
    Material {
        Alias: "alcoa_r"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.5225210189819336 0.5225210189819336 0.5225210189819336 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 0.8209999799728394 0.8209999799728394 0.8209999799728394 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 0.20000000298023224 0.6000000238418579 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
}
Look {
    Name: "chrome"
    Material {
        Alias: "alcoa_logo"
        Effect: "eut2.dif.spec.over"
        Flags: 0
        AttributeCount: 5
        TextureCount: 1
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 0.4672015905380249 0.4672015905380249 0.4672015905380249 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_logo"
        }
    }
    Material {
        Alias: "r_hub"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.5225210189819336 0.5225210189819336 0.5225210189819336 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 15.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 0.8209999799728394 0.8209999799728394 0.8209999799728394 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 0.20000000298023224 0.6000000238418579 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
    Material {
        Alias: "alcoa_r"
        Effect: "eut2.dif.spec.add.env"
        Flags: 0
        AttributeCount: 7
        TextureCount: 2
        Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.2630000114440918 0.2630000114440918 0.2630000114440918 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "specular"
            Value: ( 1.0 1.0 1.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "shininess"
            Value: ( 70.0 )
        }
        Attribute {
            Format: FLOAT
            Tag: "add_ambient"
            Value: ( -0.25 )
        }
        Attribute {
            Format: FLOAT
            Tag: "reflection"
            Value: ( 0.0 )
        }
        Attribute {
            Format: FLOAT3
            Tag: "env_factor"
            Value: ( 1.2999999523162842 1.2999999523162842 1.2999999523162842 )
        }
        Attribute {
            Format: FLOAT2
            Tag: "fresnel"
            Value: ( 1.0 1.0 )
        }
        Texture {
            Tag: "texture[0]:texture_base"
            Value: "/vehicle/truck/upgrade/rim/scr/alcoa_r"
        }
        Texture {
            Tag: "texture[1]:texture_reflection"
            Value: "/material/environment/vehicle_reflection"
        }
    }
}
Variant {
    Name: "right"
    Part {
        Name: "l"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 0 )
        }
    }
    Part {
        Name: "r"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 1 )
        }
    }
}
Variant {
    Name: "left"
    Part {
        Name: "l"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 1 )
        }
    }
    Part {
        Name: "r"
        AttributeCount: 1
        Attribute {
            Format: INT
            Tag: "visible"
            Value: ( 0 )
        }
    }
}



How the former is converted (just alcoa_r's 'chrome' look):
Code:
material : "eut2.dif.spec.add.env.fx" {
   texture[0] : "/vehicle/truck/upgrade/rim/scr/alcoa_r.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/material/environment/vehicle_reflection.tobj"
   texture_name[1] : "texture_reflection"
   add_ambient : 0
   diffuse : { 0.0562366 , 0.0562366 , 0.0562366 }
   env_factor : { 1.3 , 1.3 , 1.3 }
   fresnel : { 1 , 1 }
   reflection : 0
   shininess : 70
   specular : { 1 , 1 , 1 }
}


...and how the latter is converted:
Code:
material : "eut2.dif.spec.add.env.fx" {
   texture[0] : "/vehicle/truck/upgrade/rim/scr/alcoa_r.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/material/environment/vehicle_reflection.tobj"
   texture_name[1] : "texture_reflection"
   add_ambient : -0.25
   diffuse : { 0.0562366 , 0.0562366 , 0.0562366 }
   env_factor : { 1.3 , 1.3 , 1.3 }
   fresnel : { 1 , 1 }
   reflection : 0
   shininess : 70
   specular : { 1 , 1 , 1 }
}


Note how in both cases the diffuse value is drastically reduced:
Code:
Attribute {
            Format: FLOAT3
            Tag: "diffuse"
            Value: ( 0.2630000114440918 0.2630000114440918 0.2630000114440918 )
        }

produces

diffuse : { 0.0562366 , 0.0562366 , 0.0562366 }


In short, I seem to be encountering two distinct bugs:
1. Negative add_ambient values are either getting clamped when stored in Blender, or when being exported.
2. Diffuse values are strangely affected by Conversion Tools for this particular case, in all three instances that the same material properties are entered (all in the same .blend file). This happens regardless of whether the add_ambient value passed to CT is 0 or -0.25.

EDIT:
#2 is just me forgetting about the colourspace conversion back from .mat. Herp derp.

Using:
Blender 2.76
SCSBT 1.4
SCSCT 1.8

_________________
Image
Current Projects | Roadmap | WoT


Top
 Profile  
 
PostPosted: 01 Aug 2016 23:01 
Offline
User avatar

Joined: 07 Dec 2012 13:59
Posts: 1602
So you even SCS models are having negative add_ambient values?

The point is that it was intended like this. Each Blender Tools property has some max and min value and I would say that in this case add_ambient has 0 as minimum so you can not input smaller value than 0 ;)

However if you point me to vanilla model/material having negative add_ambient I will move minimum to some minus value.


Top
 Profile  
 
PostPosted: 01 Aug 2016 23:45 
Offline
User avatar

Joined: 30 Jun 2015 03:56
Posts: 899
Location: Ontario, Canada
Quote:
...if you point me to vanilla model/material having negative add_ambient...


(ATS) dlc_rims.scs (unpacked 18/04/2016)

0e/14232be0c0bdbd9f3f0a601c6cb85aadfeb798.mat
Code:
material : "eut2.dif.spec.weight.add.env.tsnmapuv.fx" {
   texture[0] : "/vehicle/truck/upgrade/wheel/cover/rear_hub_cover_05_c.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/vehicle/truck/upgrade/wheel/cover/rear_hub_cover_05_n.tobj"
   texture_name[1] : "texture_nmap"
   texture[2] : "/material/environment/vehicle_reflection.tobj"
   texture_name[2] : "texture_reflection"
   add_ambient : -0.25
   diffuse : { 0.263273 , 0.263273 , 0.263273 }
   env_factor : { 1.3 , 1.3 , 1.3 }
   fresnel : { 1 , 1 }
   reflection : 0
   shininess : 70
   specular : { 1 , 1 , 1 }
}


2d/72465a0f3b5ec0c9ee516fedb3a90e971ad155.mat
Code:
material : "eut2.dif.spec.weight.add.env.tsnmapuv.fx" {
   texture[0] : "/vehicle/truck/upgrade/wheel/nuts/nuts_04_c.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/vehicle/truck/upgrade/wheel/nuts/nuts_04_n.tobj"
   texture_name[1] : "texture_nmap"
   texture[2] : "/material/environment/vehicle_reflection.tobj"
   texture_name[2] : "texture_reflection"
   add_ambient : -0.25
   diffuse : { 0.263273 , 0.263273 , 0.263273 }
   env_factor : { 1.3 , 1.3 , 1.3 }
   fresnel : { 1 , 1 }
   reflection : 0
   shininess : 70
   specular : { 1 , 1 , 1 }
}


2f/4e66504ef9380640a8da7ebff6e5157785bac9.mat
Code:
material : "eut2.dif.spec.weight.add.env.tsnmapuv.fx" {
   texture[0] : "/vehicle/truck/upgrade/wheel/disc/rear_disc_03_c.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/vehicle/truck/upgrade/wheel/disc/rear_disc_03_n.tobj"
   texture_name[1] : "texture_nmap"
   texture[2] : "/material/environment/vehicle_reflection.tobj"
   texture_name[2] : "texture_reflection"
   add_ambient : -0.25
   diffuse : { 0.263273 , 0.263273 , 0.263273 }
   env_factor : { 1.3 , 1.3 , 1.3 }
   fresnel : { 1 , 1 }
   reflection : 0
   shininess : 70
   specular : { 1 , 1 , 1 }
}


3a/ae3e988b11573211366d9fc77da7e7999e1fb6.mat
Code:
material : "eut2.dif.spec.weight.add.env.tsnmap.fx" {
   texture[0] : "/vehicle/truck/upgrade/wheel/cover/rear_hub_cover_03_kenworth_c.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/vehicle/truck/upgrade/wheel/cover/rear_hub_cover_03_n.tobj"
   texture_name[1] : "texture_nmap"
   texture[2] : "/material/environment/vehicle_reflection.tobj"
   texture_name[2] : "texture_reflection"
   add_ambient : -0.25
   diffuse : { 0.263273 , 0.263273 , 0.263273 }
   env_factor : { 1.3 , 1.3 , 1.3 }
   fresnel : { 1 , 1 }
   reflection : 0
   shininess : 70
   specular : { 1 , 1 , 1 }
}


That's four out of the first five, alphabetically. :lol: I think the artists use it to 'tame' the high env factor (1.3!). It blows out like mad with hdr without it. :shock: Personally, I find 1.1 looks less fake, but could still use the extra restraint that -0.25 provides in bright lighting.

_________________
Image
Current Projects | Roadmap | WoT


Top
 Profile  
 
PostPosted: 02 Aug 2016 21:33 
Offline
User avatar

Joined: 07 Dec 2012 13:59
Posts: 1602
Well it is "abuse" well good then I will lower minimum for it to -1 ;)


Top
 Profile  
 
PostPosted: 02 Aug 2016 22:08 
Offline
User avatar

Joined: 30 Jun 2015 03:56
Posts: 899
Location: Ontario, Canada
Abuse for sure, but I expect the artist(s) felt very clever when they came up with it. :lol:

_________________
Image
Current Projects | Roadmap | WoT


Top
 Profile  
 
PostPosted: 02 Aug 2016 22:48 
Offline
User avatar

Joined: 24 May 2014 20:24
Posts: 1903
Location: The Netherlands
Sorry to harras this topic :mrgreen:, but where is the add_ambient attribute used for exactly?

_________________
ImageImageImage

Intel Core i5 4670k, Asus B85M-G, 8GB RAM, MSI GTX 980 4GB. Logitech G502, Logitech G710+, Logitech G29, Driving Force Shifter + Scania SKRS.

Image


Top
 Profile  
 
PostPosted: 03 Aug 2016 00:04 
Offline
User avatar

Joined: 30 Jun 2015 03:56
Posts: 899
Location: Ontario, Canada
My understanding is it's a factor for adjusting the overall brightness of a material based on the indirect (ambient) lighting in the scene, as opposed to the directional (diffuse/specular) lighting.

In this case where the env factor is greater than 1, the result is substantially brighter than the surrounding environment, but most so during the day when there is high ambient lighting. Lowering the diffuse or darkening the base texture will improve the day-time appearance, but the night-time appearance would end up looking quite blackish (see the 'black chrome' people complain about in some mods). By subtracting ambient it has the most effect in the brightest environments (think Southern end of Arizona, noon, with a clear sky).

At least, that's my interpretation/borderline reverse-engineering attempt. 50k or other SCS staff, please correct me if I'm wrong or not quite right – I might learn something. :lol:

_________________
Image
Current Projects | Roadmap | WoT


Top
 Profile  
 
PostPosted: 30 Sep 2016 17:44 
Offline
User avatar

Joined: 07 Dec 2012 13:59
Posts: 1602
Will be done in 1.5!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: