Welcome,
Guest
. Please
login
or
register
.
March 09, 2026, 01:43:50 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas save Filter and Format after update?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Atlas save Filter and Format after update? (Read 6560 times)
FizzPow
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 83
Atlas save Filter and Format after update?
«
on:
June 12, 2014, 12:49:13 PM »
Whenever I update my atlas, it changes the filtering to trilinear and format to true color. I am using point filter and 16 bit color for a very specific use on pixel art. Any way I can not have to fix this everytime I update the atlas?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas save Filter and Format after update?
«
Reply #1 on:
June 13, 2014, 05:51:50 AM »
Comment out lines 451 and 485 of NGUIEditorTools.cs:
settings
.
textureFormat
=
TextureImporterFormat
.
ARGB32
;
Logged
FizzPow
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 83
Re: Atlas save Filter and Format after update?
«
Reply #2 on:
June 13, 2014, 03:40:51 PM »
Thanks! A checkbox option on Atlas Maker or something could be nice in future.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas save Filter and Format after update?
«
Reply #3 on:
June 13, 2014, 10:13:26 PM »
You will find it in the next update.
Logged
FizzPow
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 83
Re: Atlas save Filter and Format after update?
«
Reply #4 on:
June 15, 2014, 07:42:10 PM »
Awesome!
Logged
FizzPow
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 83
Re: Atlas save Filter and Format after update?
«
Reply #5 on:
June 25, 2014, 01:14:23 PM »
Just updated, still forces Trilinear filtering, which is the bigger issue for us, oh well =)
For our use, I just modified NGUIEditorTools: 485
if
(
NGUISettings
.
trueColorAtlas
)
{
settings
.
textureFormat
=
TextureImporterFormat
.
ARGB32
;
settings
.
filterMode
=
FilterMode
.
Trilinear
;
}
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas save Filter and Format after update?
«
Reply #6 on:
June 26, 2014, 10:17:54 AM »
That seems fine to me. I'll do the same on my end.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas save Filter and Format after update?