WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-18-2007, 02:07 PM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
Shaders...

Hello Wizards, I'm back !!

I got two GLSL codes:
1) one vertex program
2) one fragment program

I would like to use these shaders in my application but I don't understand how to pass parameters like textures or values to them...

shader = viz.addShader(viz.SHADER_TANGENT, vert="v1.vp", frag="f1.fp"):
How can I pass params ?

Thanks a lot!!
Didier
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC