Graphics

 View Only
  • 1.  Gradient materials

    Posted 03-19-2015 11:13
    Hi,

    Does anyone know how to move the middle point of a gradient material? I've set Top Left & Bot Left's alpha to zero and Top Right & Bot Right alpha to max, but now what I want is to be able to move the "mixing" point further or nearer to either side.


  • 2.  RE: Gradient materials

    Posted 03-19-2015 13:27
    You could try playing with the texture coordinates (scale) of the object after applying the material to it.. It may not exactly give you the effect you want but its worth a try. Depending on the texture coordinates mode (wrap, border, etc) you can get some different effects using the gradient material. Otherwise you'll just need to build the gradient in photoshop and import as a texture..

    #XPression


  • 3.  RE: Gradient materials

    Posted 03-19-2015 13:28
    I believe in the material editor there is Texture Coordinates tab. This should allow you to move the middle point. You can also do this after you apply the gradient to an object, and then use the Texture Coordinates tab (in the object inspector) to move the middle point, leaving the material untouched to use on other objects.

    #XPression


  • 4.  RE: Gradient materials

    Posted 03-19-2015 20:09
    I've already tried texture coordinates guys. The problem with that is when you move or scale the texture the changes you make apply to the position or scale of the texture within your object. Since the material is set to have alpha 0 at a certain point and alpha 100 at another, this just moves the material around within the dimensions of your object and does nothing to where or how "hard" the gradient mid-point should be.

    For example; Take a quad with alpha 0 on left and alpha 100 on right. TextureScale X will drag the material out across the quad leaving me with a quad which has alpha 20 left and alpha 80 right.

    Yes, you can get some sort of the control I'm looking for, but not with optimal results.

    Thanks for your replies.

    #XPression