# Spout for Godot 3.4.2 Created

**URL:** <https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375>\
**Category:** Showcase\
**Created:** [February 5, 2022, 3:32am UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375 "2022-02-05T03:32:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![you-win](https://avatars.discourse-cdn.com/v4/letter/y/90ced4/32.png) [@you-win](https://spout.discourse.group/u/you-win)\
**Post date:** [February 5, 2022, 3:32am UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375/1 "2022-02-05T03:32:13Z")

</div>

## SpoutGD

I wrote an engine module for [Godot](https://github.com/godotengine/godot) that adds support for Spout! [The GitHub repo can be found here](https://github.com/you-win/spout-gd).

Both GPU and CPU workflows are supported (where the CPU workflow involves sending all pixels for an image manually).

This does require a custom build of Godot and only works on Windows, as Spout only works on Windows.

## Development Notes

The `VisualServer` was also patched to allow access to the OpenGL FBO. I was hoping to avoid doing this, but according the Godot issue tracker, the low-level graphics API was never fully exposed.

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [February 6, 2022, 1:03am UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375/2 "2022-02-06T01:03:20Z")

</div>

A neat addition to a huge project.  
Indeed the fbo send will be much faster than image pixels.  
It’s good to see SpoutLibrary doing it’s job.

---

<div class="post-metadata">

**Author:** ![you-win](https://avatars.discourse-cdn.com/v4/letter/y/90ced4/32.png) [@you-win](https://spout.discourse.group/u/you-win)\
**Post date:** [February 6, 2022, 3:06am UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375/3 "2022-02-06T03:06:33Z")

</div>

Indeed, thanks for creating the library!

Receiving data isn’t yet implemented, since more digging is required in order to figure out how to pass OpenGL texture handles to Godot without breaking the existing render pipeline for Godot. But I am looking into it 😉

Receiving and processing image pixels in Godot is easy enough, but if we’re using Spout + a custom Godot build, we might as well go for performance using OpenGL.

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [February 6, 2022, 6:48am UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375/4 "2022-02-06T06:48:03Z")

</div>

I have updated the Master branch SpoutLibrary binaries to include changes to resolve a [linking problem](https://spout.discourse.group/t/gl-dx-linking-error/361). Of course let me know if you find any problems.

Send Fbo is around 0.5 msec per frame, so stick to that if you can.

---

<div class="post-metadata">

**Author:** ![you-win](https://avatars.discourse-cdn.com/v4/letter/y/90ced4/32.png) [@you-win](https://spout.discourse.group/u/you-win)\
**Post date:** [February 6, 2022, 3:24pm UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375/5 "2022-02-06T15:24:41Z")

</div>

Thanks will do!

And thanks for the tip about the Fbo timing, I’ve been sending them (or at least calling the function) as fast as possible.

---

<div class="post-metadata">

**Author:** ![vdmokstati](https://yyz2.discourse-cdn.com/free1/user_avatar/spout.discourse.group/vdmokstati/32/127_2.png) [@vdmokstati](https://spout.discourse.group/u/vdmokstati)\
**Post date:** [February 7, 2022, 4:06pm UTC](https://spout.discourse.group/t/spout-for-godot-3-4-2-created/375/6 "2022-02-07T16:06:13Z")

</div>

> **[Spout for Godot 3.4.2](https://vjun.io/vdmo/spout-for-godot-342-5ji)**
>
> Amazing project aimed at bridging together an output option from Godot 3.4.2 via Spout has arrived...

I’ve shared your project at [vjun.io](http://vjun.io) to share the love 🙂
