| Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
| [Solved] Materials and Ogre http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=203 |
Page 2 of 2 |
| Author: | Will Smith [ Mon Aug 29, 2011 7:18 pm ] |
| Post subject: | Re: Help with Shader Materials and Ogre |
Thank you so much To fix the Z coords I just rotated by -90degress, so the values would be 1,1 1,0 0,1 0,0 Also in the lesser than if else statements the checks should be -0.5f. or you will never get past negativeX. |
|
| Author: | David Williams [ Mon Aug 29, 2011 9:02 pm ] |
| Post subject: | Re: Help with Shader Materials and Ogre |
Will Smith wrote: Also in the lesser than if else statements the checks should be -0.5f. or you will never get past negativeX. Yep, that was a mistake. I've corrected it now in case anyone else uses that code. Glad you got it working |
|
| Page 2 of 2 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|