"Chrome" Material

There are no stupid questions, just stupid answers.
22 posts Page 2 of 3
Duion
Posts: 1099
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Thu Feb 01, 2018 4:02 am
I had problems using dds for skyboxes, since there are compression artifacts and they become very obvious if they cover the whole sky and even if it is just one pixel it still ruins all.
Skyboxes often have a very smooth gradient and dds formats somehow cannot render this properly.
Does anyone know which compression to use to avoid those problems?
Timmy
Posts: 364
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Thu Feb 01, 2018 4:13 am
If bc3 (dxt5) still has artefacts just don't use compression (use a regular uncompressed RGBA8 format), i have also added in floating point support for dds formats so you can use hdr images for the skybox cubemap too. Make sure whatever tool you use is not generating mipmaps.
Duion
Posts: 1099
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Thu Feb 01, 2018 4:19 am
Is there then still a benefit in using dds compared to just using pngs?
Timmy
Posts: 364
Joined: Thu Feb 05, 2015 3:20 am
  by Timmy » Thu Feb 01, 2018 4:25 am
Is there then still a benefit in using dds compared to just using pngs?
apart from floating point support, no not really, just neater having a one liner in the material file and one file per sky. Going a bit off topic now, there is also support in dev branch for BC5 (aka 3Dc or ati2n) normal maps. As you can see i am not very good at documenting stuff :D
Duion
Posts: 1099
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Thu Feb 01, 2018 12:51 pm
So just use pngs.
Timmy
Posts: 364
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Thu Feb 01, 2018 1:02 pm
Well if you prefer having 6 files instead of one, slower load times (sorry forget to mention that one) and no floating point support than sure ;)
Duion
Posts: 1099
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Thu Feb 01, 2018 4:50 pm
Oh I misread that, yes having 1 files may actually be a benefit, but I have yet to see an example how such file will look like and about floating point I have no idea what it does at all.
Johxz
Posts: 444
Joined: Sat Feb 07, 2015 11:37 pm
by Johxz » Thu Feb 01, 2018 10:51 pm
Oh I misread that, yes having 1 files may actually be a benefit, but I have yet to see an example how such file will look like and about floating point I have no idea what it does at all.
not problem using dds, look pretty good as usual.
http://forums.torque3d.org/viewtopic.ph ... 9196#p9196
Timmy
Posts: 364
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Fri Feb 02, 2018 12:10 am
Oh I misread that, yes having 1 files may actually be a benefit, but I have yet to see an example how such file will look like and about floating point I have no idea what it does at all.
When i get chance over the weekend i'll start a new thread (i have hijacked this one enough :D ) and post a few examples and explain it all properly.
Duion
Posts: 1099
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Fri Feb 02, 2018 1:06 am
Oh I misread that, yes having 1 files may actually be a benefit, but I have yet to see an example how such file will look like and about floating point I have no idea what it does at all.
not problem using dds, look pretty good as usual.
http://forums.torque3d.org/viewtopic.ph ... 9196#p9196
That has not a gradient, try an mostly empty sky with a very fine gradient, that is where the compression often fails, if it is all fizzy, then you do not notice the artifacts. Which format did you use?
22 posts Page 2 of 3

Who is online

Users browsing this forum: No registered users and 5 guests