mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-11 14:34:51 +00:00
Fix texture orientation. Add AO. Fix fog transition in sky
This commit is contained in:
parent
75750571de
commit
8ab6f63fee
10 changed files with 218 additions and 30 deletions
|
|
@ -13,6 +13,7 @@ export function setupColor(tex, repeat = [1, 1]) {
|
|||
tex.wrapS = tex.wrapT = RepeatWrapping;
|
||||
tex.colorSpace = SRGBColorSpace;
|
||||
tex.repeat.set(...repeat);
|
||||
tex.flipY = false; // DDS/DIF textures are already flipped
|
||||
tex.anisotropy = 16;
|
||||
tex.generateMipmaps = true;
|
||||
tex.minFilter = LinearMipmapLinearFilter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue