It uses interpolation driven by the vertex color. Attached is geometry from the image.trueBlue wrote: ↑12 Feb 2023, 12:49How do you combine the color shader and the normal shader?clintonman wrote: ↑12 Feb 2023, 04:12I'll check them the out.
VertexPaintMasking.jpg
Another use for vertex colors is for masking. Here I combined 2 materials using a painted red vertex color. Actually, it''s not really combining 2 materials, but combining the color shader and the normal shader. It's not possible to combine actual materials in trueSpace. We can still get the same result with some work though. You can get even more complex combinations using more textures with the green and blue channels.
Please do share!
Wait...what!?
Are you actually Subtracting to show the Caligari image using Vertex Color Paint?
Vertex Color Paint and Fill
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Vertex Color Paint and Fill
- Attachments
-
- MixMaterialPlane.RsObj
- (2.13 MiB) Downloaded 52 times
Re: Vertex Color Paint and Fill
Neat!
What does the InputFloat = 3 do?
Thanks for sharing!
Now I understand what Subtract can do.
What does the InputFloat = 3 do?
Thanks for sharing!
Now I understand what Subtract can do.
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Vertex Color Paint and Fill
You must mean "Interpolate", there is no Subtract
The value 3 is multiply the texture coordinates, so it's like setting scale of 3 in the DefaultTextureMap shader. To see it properly you have to change the value in the texture shader and in the normal shader.
Re: Vertex Color Paint and Fill
I meant using Subtract in your Vertex Color tool.clintonman wrote: ↑13 Feb 2023, 03:54You must mean "Interpolate", there is no Subtract
The value 3 is multiply the texture coordinates, so it's like setting scale of 3 in the DefaultTextureMap shader. To see it properly you have to change the value in the texture shader and in the normal shader.
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Vertex Color Paint and Fill
Update: Oct 13, 2023
fixed a crash bug in the plugin
also does not attempt to paint on an object with the "Input Mesh" connector exported
http://clintons3d.com/plugins/downloads ... Plugin.rsx
also added checks for lights and cameras
plugin will give warning if the material will not show the vertex color
if the material has a "VertexColorStrength" it will ensure that the painted colors will show. If 0 it will be set to 1.
It will see compound materials that have the "Color" connector of the ShaderInput node connected to some other node. If it's not connected it will give a warning message.
fixed a crash bug in the plugin
also does not attempt to paint on an object with the "Input Mesh" connector exported
http://clintons3d.com/plugins/downloads ... Plugin.rsx
also added checks for lights and cameras
plugin will give warning if the material will not show the vertex color
if the material has a "VertexColorStrength" it will ensure that the painted colors will show. If 0 it will be set to 1.
It will see compound materials that have the "Color" connector of the ShaderInput node connected to some other node. If it's not connected it will give a warning message.