Thread: how to change width of a Vertex shader??

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    68

    restate

    well, just divide the position by two before you transform it into viewprojection space.


    Remember, the ordering of matrix is typically: Scaling*Rotation*Translation*View*Projection

    So, add the scaling first, then do what ever else you want to do.
    Last edited by smasherprog; 12-03-2010 at 03:17 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ChangeDisplaySettings - Blank?
    By Tonto in forum Windows Programming
    Replies: 13
    Last Post: 12-26-2006, 04:17 PM
  2. FAQ: Graphics Math
    By crepincdotcom in forum FAQ Board
    Replies: 23
    Last Post: 10-04-2004, 12:03 PM
  3. Display list not displaying?
    By psychopath in forum Game Programming
    Replies: 5
    Last Post: 09-19-2004, 06:47 PM
  4. StringGrids and how to change column width???
    By cmangel518 in forum C++ Programming
    Replies: 2
    Last Post: 04-18-2002, 10:59 AM
  5. Replies: 2
    Last Post: 09-04-2001, 02:12 PM

Tags for this Thread