You should look in the developer tools, and check out the GLHeighfield
example, it does a similar effect but with render to vertex buffer.
which should be supported under more hardware.
Ive edited your vertex shader like so, which does z displacement,
similar to a rutt etra video effect. Ironically, youve helped me solve
a huge problem I was having. I did not realize you could sample within
the vertex shader, which i think is only supported under a few newer
cards? At least I had errors attempting it before on my hardware.
Awesome.
I understand that vertex displacement is only
supported on certain
graphics hardware (ie newer nvidia cards), but I
wonder if the
attached patch works for anyone. I don't get an error
when I run it on
my G5 (with an nvidia GeForce 7800 GPU), but neither
does it actually
appear to work. It could be I'm making some very
stupid and obvious
mistake in the code, as I just copy-pasted it from the
page. Anyone
any ideas?
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer.
Try it
now. http://uk.answers.yahoo.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden
)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden