# Weird P3D Error

**URL:** <https://discourse.processing.org/t/weird-p3d-error/43220>\
**Category:** Coding Questions\
**Created:** [November 15, 2023, 10:22pm UTC](https://discourse.processing.org/t/weird-p3d-error/43220 "2023-11-15T22:22:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [November 16, 2023, 3:52pm UTC](https://discourse.processing.org/t/weird-p3d-error/43220/2 "2023-11-16T15:52:32Z")

</div>

Swapping between textures is a slow operation. Try using a single texture with the various “textures” in there, and change the texture coordinates instead.

EDIT - quick search for “texture atlas” on here finds eg. this thread which might be useful - [Transparency issues in P3D](https://discourse.processing.org/t/transparency-issues-in-p3d/31784)

---

_[View the full topic](https://discourse.processing.org/t/weird-p3d-error/43220)._
