Jump to content
Sign in to follow this  
nuki

bind vector array in shader

Recommended Posts

Edit: Dammit, I uploaded the wrong scene.....

I want to set point positions to a value from a vector array with a geometry shader. But somehow I cannot bind the vector array properly inside the shader, it will always return {0,0,0}. If I bind a vector directly it all works as expected, but I really need to pick my position vectors from an array.
If you have time, please take a look at the attached example scene which illustrates the problem.

 

 

 

array_cvex.hiplc

Edited by nuki

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×