Jump to content

Recommended Posts

Posted

How can I paint just one surface of a model. Lets say that I just created a cube and I want to paint the front surface Texture1 and the top surface Texture2. How would I do that?

Posted

No, you can do it like gamelib's ColorCube() function, which vertex paints any cube so that one face is of color1, and the opposite face is of color2, and it smoothly gradiates from one color to the other.

But instead of vertex painting, you want just the surface, so you can paint it with a texture.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

No, you can do it like gamelib's ColorCube() function, which vertex paints any cube so that one face is of color1, and the opposite face is of color2, and it smoothly gradiates from one color to the other.

But instead of vertex painting, you want just the surface, so you can paint it with a texture.

 

I just made a cube from scratch. But thanks anyway. Problem solved!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...