In a class I am taking, we had to create an object, make it rotate and scale (done) and have rainbow stripes moving upwards towards the Y direction as it is scaling and rotating. I was unable to get the last part done. Still passed though , but I don't believe in "good enough" so even though it's aready graded, I want to finish it and make sure that I am able to do it again if I ever need to.
So I'm using FX Composer, and I set up the pixer shader to return the world location, which I know changes the color based on the location. But what I WANT to happen is create a stripe pattern full of colors of the rainbow, and they'll be moving upwards as time goes by. All I know is that it'll involve sine, cosine, and tangent. But I have absolutely no clue how that would work or why. I haven't done trig or calc related stuff in years so if someone could also explain how manipulating the sin,cos,and tan waves works also that would be awesome.
kbenderoth89Member Since 28 May 2012
Offline Last Active Jun 12 2012 05:10 PM
- Group Members
- Active Posts 8
- Profile Views 6,988
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown