It is currently Tue Dec 12, 2017 10:29 pm

All times are UTC - 5 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Shader VMK 24 - Move In Shader
PostPosted: Mon Apr 15, 2013 5:37 am 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1105
Location: Ontario Canada
In the previous VMK, I showed how to work with shaders, however I forgot to demonstrate how to move vertices directly in a shader. That is what this video covers.


Offline
 Profile  
 
 Post subject: Shader VMK 24 - Move In Shader
PostPosted: Mon Apr 15, 2013 5:52 am 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1105
Location: Ontario Canada
With each new VMK from now on, I'm going to try to suggest tips or challenges for you to try on your own so that you can test how well you understand the code.

Try It:
  • Modify the shader code so that you can make the shape move back and forth but also rotate on its centre.
  • Modify the shader so that you scale the shape on the screen so that it looks like it is pulsing up and down.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

cron