Documentation on built-in uniforms

Share your Construct 2 effect files

Post » Sat Apr 30, 2016 7:55 pm

R0J0hound wrote:I should. I'll work on getting it put in a tutorial.



Did this ever happen? I couldn't find anything on the matter. I would be happy to write a serries that would help people get a go on effects but I find myself often struggling as well. There doesn't seem to be a good tutorial on simply writing different types of frag shaders.
Image
B
33
S
11
G
2
Posts: 563
Reputation: 5,141

Post » Sat Apr 30, 2016 9:20 pm

@ruskul
Nope, I never got around to it. What it would consist of is just what I posted here.
B
91
S
31
G
103
Posts: 5,235
Reputation: 67,756

Post » Sat Apr 30, 2016 11:24 pm

@ruskul

Do a Search for 'Toby Schachman GLSL pixel shaders'

His Github page has an interactive book/ shader editor you can download and run offline.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun May 01, 2016 12:39 am

chrisbrobs wrote:@ruskul

Do a Search for 'Toby Schachman GLSL pixel shaders'

His Github page has an interactive book/ shader editor you can download and run offline.


This is pure gold, but it is so short and basic. I seem to be only finding a prototype of the idea and not an actual complete book. (all thats in there is gl_fragcolor stuff... I remember know I think I ran through this when I was first getting started with shaders a couple years ago.
Image
B
33
S
11
G
2
Posts: 563
Reputation: 5,141

Post » Sun May 01, 2016 2:15 am

@ruskul
'This is pure gold, but it is so short and basic.' ? ?
-----------------------------------------------------------------------------------

Here is an in-progress table of contents for the book:

1. Introduction
* What are pixel shaders?
* What can you do with pixel shaders?
2. Colors
* Gradients
* Vector Math
* Color Spaces, Rainbows
3. Working with Textures
* Image Filters
* Compositing
4. Transformations
*Patterns
* Coordinate Spaces
* Polar Coordinates
* Distortion
* Displacement Maps
5. Multiple Point Sampling
* Edge Detection
* Blur
6. Generative Textures
* Noise
* Quasicrystals
* Fractals
7. Raytracing
* Case Study: Mirrors and Kaleidoscopes
* 3D
8. Integrating Shaders With Other Frameworks
* WebGL
* Processing, openFrameworks, Jitter, Quartz Composer.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun May 01, 2016 6:11 am

@chrisbrobs can you provide the link? all I can seem to find is his prototype rather than actual book. All I can see is sample chapter which only has gl_fragcolor = stuff.
Image
B
33
S
11
G
2
Posts: 563
Reputation: 5,141

Post » Sun May 01, 2016 2:03 pm

@ruskul

Here's the link my friend-

https://github.com/electronicwhisper/pixel-shaders

OR- https://github.com/electronicwhisper/pi ... -pages.zip

I don't think he ever released a 'finished' version of the book, but the download contains loads
of examples/ ideas / tips.

If you want help converting any to work in C2, let me know.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun May 01, 2016 4:29 pm

@chrisbrobs , hey thanks for you help! Very nice of you to offer to help converting. I do have a question though... (I think I'll post it elsewhere instead of jacking this thread.

edit*

here is the forum post:

viewtopic.php?f=154&t=172131
Image
B
33
S
11
G
2
Posts: 563
Reputation: 5,141

Previous

Return to Effects

Who is online

Users browsing this forum: No registered users and 1 guest