It is currently Sat Aug 22, 2020 3:43 pm


All times are UTC




Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Help with Shader Materials and Ogre
PostPosted: Mon Aug 29, 2011 7:18 pm 

Joined: Thu Apr 21, 2011 1:13 am
Posts: 18
Thank you so much :) I have it all working now without the use of shaders :D

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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help with Shader Materials and Ogre
PostPosted: Mon Aug 29, 2011 9:02 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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 :-)


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net