Quantcast
Channel: GLSL / Shaders - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 212

How to send multiple textures to a vertex shader using PShape ?

$
0
0

Hello,

Do you know how to send multiple textures to a vertex shader using PShape ?

If I write pshape.texture(image); I can access the texture using uniform sampler2D texture;

How can I use another image as a second texture and how can I target it in my vertex shader ?


Viewing all articles
Browse latest Browse all 212

Trending Articles