Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / set vertex shader matrix

Author
Message
DK_
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 11th Jun 2004 03:21 Edited at: 11th Jun 2004 04:04
I need help with this command. The syntax is:

SET VERTEX SHADER MATRIX VertexShader Matrix, Constant , Matrix4, ConstantCount

I have no clue what any of those four things are. How do I make a VertexShader. What is the constant used for. What is a matrix4, and what is the ConstantCount used for.
Please help me.

*Edit*
What does this command even do? Can I shade a matrix with it?

also if this doesn't shade a matrix is there anyway to shade a matrix.

what does the "set matrix normal" command do?

HoverFrog
21
Years of Service
User Offline
Joined: 7th Aug 2003
Location: Canada
Posted: 12th Jun 2004 07:00
Hi to shade a matrix you have to set the normals. Look in the code there is a function written by Lee Bamber to set the normals of a matrix.

Good luck.

Login to post a reply

Server time is: 2024-11-26 20:23:57
Your offset time is: 2024-11-26 20:23:57