Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Scaling down a texture for use in shader

$
0
0

I'm trying to modify an existing example so that I can apply a shader to a recorded video clip. The problem I'm running into is that the camera is capturing at 1280 x 720, but the quad I'm trying to map that texture to is 640 x 480. I can access the texture in my shader, but it's cropping the texture and not scaling it like I want. Any help is appreciated.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>