View Single Post
  #1  
Old 04-10-2012, 05:46 PM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 182
Smile Vizard and GLSL Compatibility Profile

Hello Worldviz,

I have what I hope to be a simple question.

In the past, I wrote shaders inside of Vizard using the now compatibility-profile enabled built-in types such as gl_Vertex, gl_Normal, gl_Color.

As I've been reading about GLSL post version 1.30.10 (where I believe most of the stuff I've used inside of Vizard was deprecated) I was wondering how exactly I know what inputs Vizard is feeding into my shader?

Are you utilizing a compatibility mode (since my old shaders seem to work just fine) and would you recommend working this way?

Your help file list the uniforms available with Vizard, but they are mainly bits from OSG and nothing that directly ties into the inputs that would be for the matrices, vertices, etc...

Thanks,
George Lecakes
Reply With Quote