Texpage questions
Texpage questions
1) Is there a limit on the total number of texpages that can be used?
2) Is there a limit on colors inside of a texpage?
2) Is there a limit on colors inside of a texpage?
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: Texpage questions
1) 64 pages according to the sourceAzraiel wrote: 1) Is there a limit on the total number of texpages that can be used?
2) Is there a limit on colors inside of a texpage?
2) 32bit RGBA png
tasks postponed until the trunk is relatively stable again.
Re: Texpage questions
Can that number be increased in any way ?
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Texpage questions
1. yes
2. Not with PNG images afaik. Something like HDR would be needed instead. And the code to display it. What would probably mean some kind of shaders, since GL colours are limited to 32bit afaik.
2. Not with PNG images afaik. Something like HDR would be needed instead. And the code to display it. What would probably mean some kind of shaders, since GL colours are limited to 32bit afaik.
Re: Texpage questions
32bit colors, thats some multimillion individual colors right?
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: Texpage questions
yes,up to 2^32 combinations...Azraiel wrote: 32bit colors, thats some multimillion individual colors right?
the 'png' I was referring to is the compression/store format,not the 'features' of png,sorry for the confusion.
tasks postponed until the trunk is relatively stable again.
Re: Texpage questions
Not Really, but 24 Bit. So, 2^24 theoretically colors. (8 bit red / green / blue)Azraiel wrote: 32bit colors, thats some multimillion individual colors right?
The other 8 bits are for the Alpha channel. (Transparency)
We all have the same heaven, but not the same horizon.