Skip to content

Commit 3d87b5a

Browse files
authored
Merge pull request #327 from gauravpatekar/patch-1
Update chapter.md
2 parents ea816c5 + b9834d5 commit 3d87b5a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

chapters/shaders/chapter.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ The differences between the shaders aren't major but they exist, however it's mo
8989

9090
Let's take a look at a very simple example to help you get going with it. First, we'll look at the OF side of things:
9191

92+
In the ofApp.h file add this line
93+
```cpp
94+
ofShader shader;
95+
```
96+
Then in opApp.cpp, add
9297
```cpp
9398

9499
void ofApp::setup(){

0 commit comments

Comments
 (0)