Cheetah Material to Unity3D as Vertex Gradient

Cheetah Material to Unity3D as Vertex Gradient

Is it possible to manipulate the Cheetah3D Material node editor to produce a gradient shader that is editable in Unity3d. ?

I can get one colour to work at the moment in a standard shader of unity and have tried some node and noodle combinations in cheetah.

Just to clarify, I don't want to use a uv map or a pixel texture for this effect.

http://www.cheetah3d.com/forum/showthread.php?t=11710&highlight=gradient
 

Attachments

  • Screenshot 2016-11-10 18.23.24.png
    Screenshot 2016-11-10 18.23.24.png
    355.3 KB · Views: 571
Last edited:

Version 7b17 does have vertex colors.

First you need to add the Vertex Color Tag to the object.

Then create a material with a State Node with the color output plugged
into the Diffuse Channel and put it on the object so it will render.

Then use the new polygon Brush Tool to paint your colors.

Remember to select the Vertex Tag to see the colors in the view window.

All that said I don't know what this is used for, since I don't create games I guess.
Maybe you can test this out more extensively and explain it to everyone.

 
Thanks ZooHead!

I assume by your post that I can download the beta and test it. ?

The feature is very old and helps with faking shadows or adding depth of polygons with gradients from one colour to another.

P.S. Thanks for the information, I will need to upgrade to test this feature.

PPS. Where is the Vertex tag. I think I found the other elements. - ahh found it! thanks again.
 
Last edited:
If I could perform this action without collapsing the mesh, that would be wonderful.

However I am super happy being able to contain this texturing method within Cheetah3d and not have to move out of the software and back in again.
 

Attachments

  • Screenshot 2016-11-15 08.30.35.png
    Screenshot 2016-11-15 08.30.35.png
    422.4 KB · Views: 459

It seems to work better with trigons.

 

Attachments

  • TryVertex.jpg
    TryVertex.jpg
    67.1 KB · Views: 424
  • TryVertex 02.jpg
    TryVertex 02.jpg
    79.5 KB · Views: 422
  • TryVertex 03.jpg
    TryVertex 03.jpg
    80.3 KB · Views: 433
Hi Zoohead,

Yes I rushed my test to the finish line, thanks so much for adding that element.

In the era of the mobile device, you have more polygons than pixel texture to play with so in the game development sense working to that goal saves a lot of work and time in worrying about texture memory or U.V. mapping etc.
 

Version 7b17 does have vertex colors.

First you need to add the Vertex Color Tag to the object.

Then create a material with a State Node with the color output plugged
into the Diffuse Channel and put it on the object so it will render.

Then use the new polygon Brush Tool to paint your colors.

Remember to select the Vertex Tag to see the colors in the view window.

All that said I don't know what this is used for, since I don't create games I guess.
Maybe you can test this out more extensively and explain it to everyone.


Trying to grasp this vertex painting I want to use it to influence my texture map, but I don't have any idea what the node setup should be.
I've been trying but haven't had any success. The texture is a dark wood grain jpg image.
 

Attachments

  • One of my trys.jpg
    One of my trys.jpg
    112.3 KB · Views: 318
  • render1.jpg
    render1.jpg
    89 KB · Views: 319
I don´t think this makes too much sense as vertex colours - as the name suggests - is based on vertices - which means at least geometry. Not sure what you have in mind as a result regarding your image texture as you need to bake&mix it - which might be easier with a painted image texture to have some kind of control. Ideas?

Cheers
Frank
 
Last edited:

It works best with simple triangular polygons.
It works on the junction points (vertices).

You use the polygon tool Brush set to color.
You can also choose a second color called the
clear color because when you hit the Clear
button it will clear to that color.

With an image you must set the mix to less than 1,
and the Vertex Tag must be selected to see and paint.

 

Attachments

  • Vertex and Brush 02.jpg
    Vertex and Brush 02.jpg
    49.8 KB · Views: 327
  • Vertex and Brush 03.jpg
    Vertex and Brush 03.jpg
    75.3 KB · Views: 331
  • Vertex and Brush.jpg
    Vertex and Brush.jpg
    41.1 KB · Views: 323
  • Vertex and Brush 04.jpg
    Vertex and Brush 04.jpg
    98.2 KB · Views: 317
Way cool Zoo. Thanks Don't know how I'll use this but at least now I can.
Thanks to you too Frank. I just wanted to know how to use it.
In the last two examples I used only quads I also tried tris 1st. example works like Zoo said.
The closer the loops the sharper the line.
Last example Baked texture
 

Attachments

  • WayCool.jpg
    WayCool.jpg
    183 KB · Views: 272
  • More.jpg
    More.jpg
    195.6 KB · Views: 262
  • More1.jpg
    More1.jpg
    187.5 KB · Views: 259
  • Baked.jpg
    Baked.jpg
    214.9 KB · Views: 283
Last edited:
Back
Top