View Full Version : moving a texture relative to the camera
11-14-2005, 04:46 PM
is it possible to move a texture-alphachannel connected to a nullobject or the camera directly.
The plan is to have a forground texture that is faded out by an alphachannel in relation
to the distance to camera. (in Lightwave that function is called "fade with distance")
So it fades more detail in close to the camera.
We manage to get the detailtexture faded in , in a circle around the center.
But we donīt get this alphachannel traveling with the camera.
Thanks a lot
Easy, just connect the output of a distance node to the mix value of a fusion or layer mix in the alpha channel.
11-14-2005, 05:04 PM
Sorry, just switching over from Lightwave, so Iīm not into all the details yet.
That means using Xpresso to connect them...right?
If you could give me another little hint, I would be very thankful. After all some
things work quite different to lightwave (Thank god).
Yes, that means using xpresso, which requires some learning time. A distance mode can be used to determine the distance between two objects. The result can then be plugged into the mix value of a fusion shader in the alpha channel via another xpresso node called Range Mapper. If you don't want to get into xpresso at this point, you could simply keyframe the mix value yourself. As long as it's just one shot this would be the simpler solution by far.
11-15-2005, 07:51 AM
there are actually a whole heap of ways of doing this. you could also use the proximal shader, with the camera as one of it's target objects. or you could use a world 3d gradient and use set driven/driver using the cameras position linked to the gradient's position values (add a null in from of the camera and a child for teh second position on the gradient this way), then there's controlling vertexmaps in xpresso...
11-16-2005, 07:42 PM
helped a lot
11-16-2005, 07:42 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.