Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Normal textures  (Read 9885 times)

M7

  • Hero Member
  • *****
  • Posts: 736
  • newbie
Normal textures
« on: June 27, 2015, 09:46:18 pm »

I was testing some texture on normals. All is good at up close but not so at a distance. Without normals, the texture is fine. I tried to save the normals as DXT5/3dc/ATI2 ... it's all the same result.

Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Normal textures
« Reply #1 on: June 28, 2015, 01:49:10 am »

Did you generate mipmaps for the textures?
Logged

M7

  • Hero Member
  • *****
  • Posts: 736
  • newbie
Re: Normal textures
« Reply #2 on: June 28, 2015, 08:56:53 am »

It's the mipmap that is screwed up... and only the mipmap for the normal map. The other map are fine. I'll test this some more.

Logged

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: Normal textures
« Reply #3 on: June 28, 2015, 09:39:29 am »

Also, arent 4 of them enough ? ...
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

M7

  • Hero Member
  • *****
  • Posts: 736
  • newbie
Re: Normal textures
« Reply #4 on: June 28, 2015, 11:40:41 am »

it doesnt seem to take much more space to have 8 of them on the texture anyway :D.

So finally it's only the textures saves with nvidia/photoshop as 3dc that are corrupted. Saving in dtx5 looks good , my bad. I must have loaded the 3dc version to save it as ATI2n and DTX5 im not sure.

I also tried with compressenator, adding mipmap and saving normal as ATI2n and DTX5. They both look good in game but then with ATI2n, it doesnt create mipmap or at least, they dont show up in photoshop when i use the option to view mipmap.

So In the end DTX5 seems the only format to work well and DTX5 generated from compressenator looks the best IMO.
Logged

M7

  • Hero Member
  • *****
  • Posts: 736
  • newbie
Re: Normal textures
« Reply #5 on: June 28, 2015, 11:58:29 am »

The difference in game is even more obvious than i thought.

Logged

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 762
  • Love OT!
Re: Normal textures
« Reply #6 on: June 28, 2015, 09:13:47 pm »

"I also tried with compressenator, adding mipmap and saving normal as ATI2n and DTX5. They both look good in game but then with ATI2n, it doesnt create mipmap or at least, they dont show up in photoshop when i use the option to view mipmap. "

In the compressonator, do you create the mipmaps before compress?
Logged
"A man who is contented with what he has done, will never become famous for what he will do".

M7

  • Hero Member
  • *****
  • Posts: 736
  • newbie
Re: Normal textures
« Reply #7 on: June 28, 2015, 09:27:37 pm »

I hit generate mipmap after i compress.
Logged

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 762
  • Love OT!
Re: Normal textures
« Reply #8 on: June 28, 2015, 10:19:51 pm »

It must be first, in order the mipmaps are compressed and are included in the compressed version.

1.- Hit generate mipmaps.
2.- Compress.
3.- Save compressed.
Logged
"A man who is contented with what he has done, will never become famous for what he will do".

M7

  • Hero Member
  • *****
  • Posts: 736
  • newbie
Re: Normal textures
« Reply #9 on: June 28, 2015, 10:56:57 pm »

Effectively it works! funny that it can work the other way around for other compression but not for ATI2N. Thanks for the tip!
Logged

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 762
  • Love OT!
Re: Normal textures
« Reply #10 on: June 29, 2015, 09:49:26 am »

Effectively it works! funny that it can work the other way around for other compression but not for ATI2N. Thanks for the tip!

Glad to help.  :)
Logged
"A man who is contented with what he has done, will never become famous for what he will do".