Timeline for Is it possible to batch draw sprites that use different textures without using an atlas?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 16, 2011 at 12:45 | vote | accept | Trillian | ||
| Jul 16, 2011 at 9:06 | answer | added | Nicol Bolas | timeline score: 2 | |
| Jul 16, 2011 at 3:12 | answer | added | jheriko | timeline score: 3 | |
| Jun 18, 2011 at 20:09 | comment | added | Jonathan Connell | You should be able to pass the samplers using uniforms, but don't forget that there are always limits to the number of uniforms, textures, etc. you can work with. Unfortunately I don't think there's an easier solution than either packing your textures together like you said, or intelligently batching your draw calls that use the same textures together to minimize the amount of sampler changing. | |
| Jun 18, 2011 at 18:22 | answer | added | DeadMG | timeline score: 0 | |
| Jun 18, 2011 at 15:59 | history | asked | Trillian | CC BY-SA 3.0 |