# Can't animate WEBGL model in draw loop

**URL:** https://discourse.processing.org/t/cant-animate-webgl-model-in-draw-loop/29539
**Category:** Coding Questions
**Created:** [April 21, 2021, 10:24am UTC](https://discourse.processing.org/t/cant-animate-webgl-model-in-draw-loop/29539 "2021-04-21T10:24:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)
#### Post date: [April 21, 2021, 1:30pm UTC](https://discourse.processing.org/t/cant-animate-webgl-model-in-draw-loop/29539/2 "2021-04-21T13:30:51Z")

</div>

Actually it’s not officially supported ☹

> [@Help with 3d object transfiguration/distortion effect](https://discourse.processing.org/t/help-with-3d-object-transfiguration-distortion-effect/28795/2):
>
> it seems not supported while Spongman’s example shows how to “hack” to render the modified buffer (below is copied from the link above, I tried with your code and partially works but I’m not posting that because 1) I don’t want to tidy the code laughing and 2) somehow it doesn’t seem to work with noFill - which perhaps is related to the implementation of WEBGL in p5.js) var renderer; var geometry; var gid = 'custom'; function setup () { renderer = createCanvas(500, 500, WEBGL); geometry…

---

_[View the full topic](https://discourse.processing.org/t/cant-animate-webgl-model-in-draw-loop/29539)._
