• Stars
    star
    152
  • Rank 243,243 (Top 5 %)
  • Language GLSL
  • License
    MIT License
  • Created about 7 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A port of the Book of Shaders to TouchDesigner

BOS-in-TouchDesigner

Matthew Ragan | matthewragan.com

I can't say enough good things about The Book of Shaders by Patricio Gonzalez Vivo & Jen Lowe. If you're looking to get a handle on how to write shaders, or find some inspiration this is an incredible resource.

For TouchDesigner programmers who are accustomed to the nodal environment of TD, working with straight code might feel a bit daunting - and making the transition from Patrico's incredible resource to Touch might feel hard - it certainly was for me at first. This repo is really about helping folks make that jump.

Here you'll find the incredible examples made by Patricio and Jen ported to the TouchDesigner environment. There are some differences here, and I'll do my best to help provide some clarity about where those come from.

This particular set of examples is made in TouchDesigner 099. In the UI you'll find a list of examples below the rendered shader in the left pane, on the right you'll find the shader code and the contents of an info DAT. You can live edit the contents of the shader code, you just have to click off of the pane for the code to be updated under the hood. If you hit the escape key you can dig into the network to see how everything is organized.

Each ported shader exists as a stand alone file - making it easy to drop the pixel shader into another network. When possible I've tried to precisely preserve the shader from the original, though there are some cases where small alterations have been made. In the case of touch specific uniforms I've tried to make sure there are notes for the programmer to see what's happening.

Touch Screen Shot

More Repositories

1

TD-Examples

TouchDesigner Examples
Python
322
star
2

touchdesigner-sop-to-svg

A pipeline for handling the SOP to SVG pipeline. This is especially handy for using procedurally generated geometry for paths to be cut or plotted.
Python
154
star
3

learningGLSL

Python
141
star
4

td_fb_forum_examples

Batchfile
88
star
5

touchdesigner-save-external

a simple save external tox and text helper
Python
59
star
6

touchdesigner-hueControl

Components for controlling hue lights from TouchDesigner
Python
51
star
7

glsl2dTuts-in-TouchDesigner

GLSL
43
star
8

touchdesigner-dominant-color

An approach for finding dominant color in an image using KMeans clustering with scikit learn and openCV. The approach here is built for realtime applications using TouchDesigner and python multi-threading.
Python
40
star
9

touchdesigner_light_volume

36
star
10

make_some_noise_2017

Support materials for a TouchDesigner Workshop / Makeshop hosted by Obscura Digital in San Francisco CA.
30
star
11

touchdesigner_yale_workshop_2017

30
star
12

python_for_td

Python
28
star
13

touchdesigner-deferred-lighting

A look at how to accomplish deferred lighting in TouchDesigner 099
26
star
14

AME394

Sample files for AME 394
21
star
15

THP494-598

Files for THP 494 and 598
20
star
16

touchdesigner-template-tox-dev

a template for building a stand alone tox
Python
19
star
17

touchdesigner-multi-threading

A look at how to use multiple threads in python with TouchDesigner
Python
19
star
18

touchdesigner-config-with-env-vars

TouchDesigner Configuration with Environment Variables
Python
15
star
19

blog-td-subprocess

Working with Subprocess and TouchDesigner
Python
13
star
20

touchdesigner-style-ragan

A repo of TouchDesigner style gude elements
CSS
13
star
21

touchdesigner-reusable-frameworks

Python
10
star
22

touchdesigner_virtual_cameras

A closer look at virtual camera setups, and how to exploit them in TouchDesigner
10
star
23

touchdesigner-heartbeats

a simple process heartbeat tox
Python
9
star
24

blog-td-light-tracking-previs

9
star
25

touchdesigner-tdsw-obs-websockets

Python
9
star
26

touchdesigner-tox-prep-for-release

A general tool for packaging up a TOX into a release ready format
Python
8
star
27

td_tools_release-collection

Python
7
star
28

touchdesigner-process-managment

A look at how you can launch another process from TouchDesigner with Python, and how you can kill that process.
7
star
29

touchdesigner-learning-opencv

Python
6
star
30

touchdesigner-machine-grouping

A first look at possible mechanisms for handling mirrored networks
Python
6
star
31

touchdesigner-reusable-code-segmentation-python

Python
5
star
32

touchdesigner-python-version-installer

Python
4
star
33

touchdesigner_ldi_2017

Support materials for the 2017 LDI workshop
4
star
34

touchdesigner_config_and_startup

Python
4
star
35

touchdesigner-node-red-com-example

Example of sending data from TouchDesigner to Node Red
4
star
36

touchdesigner-community-examples-code

Python
3
star
37

touchdesigner-sop-points-to-csv

a simple tool for saving out a SOP point cloud as a CSV
3
star
38

HQ-advanced-advanced-rendering

3
star
39

touchdesigner-community-examples

SCSS
3
star
40

hq-coaching-crystal

Python
3
star
41

td-general-tools

A set of reusable and modular tools for use in TouchDesigner
3
star
42

touchdesigner-external-presets

Python
2
star
43

blog-td-stoner-project-par

2
star
44

OTGMixer

A live video mixing tool for Orange Theatre Group
2
star
45

touchdesigner-roboCopy

A helper for syncing media files between machines
2
star
46

touchdesigner-palette-pop-up

A look at creating a pop up op-create style dialogue for the touchdesigner palette
Python
2
star
47

touchdesigner-ui-2020

2
star
48

touchdesigner_curly_paths

A look at how you might think about moving objects along paths - from single objects to multiple instances.
1
star
49

touch_git_example

A simple example for how to use git with TouchDesigner
1
star
50

multi_stoner_example

Python
1
star
51

touchdesigner_ldi_advanced_2018

1
star
52

touchdesigner-python-externals

Python
1
star
53

experiments

a z|m m|z experiments and learning space
1
star
54

touchdesigner_ldi_python_2018

1
star
55

touchdesigner-com

1
star
56

touchdesigner-skl-project

A project skeleton
Python
1
star
57

hq-coaching-scott

GLSL
1
star
58

ModuleAndStorageExamples

1
star
59

touchdesigner_ldi_intro_2018

LDI 2018 TouchDesigner repo
1
star
60

touchdesigner-lister-blog

1
star
61

techniques-iris-variations

1
star