x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Distinct background and foreground vertex colors - possible or not?

I'm experimenting with procedural meshes and textures right now and I'm wondering if it is possible to interpolate not one but two values of vertex color over mesh faces - one for background and one for foreground of generated texture? I do not mind hand-writing some messy vertex factory shader code, but would prefer retaining ability to compose material in visual editor. Any clues how to do so?

Product Version: Not Selected
Tags:
more ▼

asked Oct 06 '14 at 11:31 AM in Rendering

avatar image

diagoras
18 2 4 7

avatar image Lovecraft_K ♦♦ STAFF Oct 06 '14 at 05:57 PM

Hey diagoras -

You can definitely use different values in the RGB channels of the vertex color to yield different texture results? Is that what you are referring to? Meshes' vertices can only have one assigned color.

Thank You

Eric Ketchum

avatar image diagoras Oct 06 '14 at 06:20 PM

No, I wanted two sets of RGB values per vertice. If that's impossible, it would be very sad.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey diagoras -

No Vertices are limited to only one color.

Thank You

Eric Ketchum

more ▼

answered Oct 06 '14 at 06:56 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question