Tex Coordinates on Objects

Started by WAS, December 19, 2015, 04:01:51 PM

Previous topic - Next topic

WAS

Is it possible to get tex coordinates on a object? I'm trying to add a surface layer to the *bottom* of the object, with a reflection shader, and colour contour shader to add wetness to a object. So far can't get anything to show.

bobbystahr

Quote from: WASasquatch on December 19, 2015, 04:01:51 PM
Is it possible to get tex coordinates on a object? I'm trying to add a surface layer to the *bottom* of the object, with a reflection shader, and colour contour shader to add wetness to a object. So far can't get anything to show.

I don't know either but am watching this thread to learn.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Dune

You'd probably have to mask that in. Or if it's only one object at a certain height, use a distribution shader.

WAS

Drat. I wish there was a way to read the model as geometry. At least I can use the distribution layer method, which works fair enough just no real splash leveling.

Matt

If you need to grab the texture coordinates directly, use the node called Get Position in Texture. But I'm not sure whether this is what you need. What limitations do you run into when you just try to mask by altitude using a Distribution Shader? What do you mean by "no real splash levelling?"

Matt
Just because milk is white doesn't mean that clouds are made of milk.

WAS

Quote from: Matt on December 20, 2015, 11:06:30 PM
If you need to grab the texture coordinates directly, use the node called Get Position in Texture. But I'm not sure whether this is what you need. What limitations do you run into when you just try to mask by altitude using a Distribution Shader? What do you mean by "no real splash levelling?"

Matt

I guess I can just use a more subtle slope to the water. With the distribution shader I wanted the appearance of water hitting the land which causes it to move up the slope further, while trying to keep the tops "dry"  Like a wave rolling up hill I guess.

Dune

With the metod I described to you earlier (with the displacement to scalar and the smooth step/color adjust) you can set a range of height where the beach is. If you have a gentle beach you can raise the water level up the beach by displacement from that mask.

bla bla 2


WAS

Quote from: bla bla 2 on December 21, 2015, 05:09:15 AM
And with transform shader ?

Would that work on a texture without coordinates? Will have to try.

bla bla 2

Une fois, je mettais amusé avec le transform shader pour déplacer les textures d'un objet, c'est chaud à manipuler par contre.

Once, I was amused with the shader transform to move the textures of an object, it's hot to handle by cons.