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"

World aligned procedural texture

This has been annoying me constantly. I use a lot of procedural materials, and the WorldAlignedTexture node only supports texture objects. Is there an alternative?

Product Version: Not Selected
more ▼

asked Sep 30 '14 at 07:56 AM in Rendering

avatar image

306 21 43 54

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

1 answer: sort voted first

Hey OhiraKyou -

You can always open the material function itself and copy the vector math directly into a material which would allow you to use Texture Sampler nodes as opposed to the called Texture Object nodes.

Texture Objects are required for using Material Functions and calling an inputed Texture Component. You could also create a Material Function in which you already input a texture sampler thus removing it as an input.

Thank You

Eric Ketchum

more ▼

answered Sep 30 '14 at 02:24 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.6k 703 260 737

avatar image OhiraKyou Oct 01 '14 at 04:54 AM

I also cannot plug procedural code into Texture Sample nodes; it only accepts textures. Noise and gradients for example, return floats.

avatar image Lovecraft_K ♦♦ STAFF Oct 01 '14 at 03:24 PM

Hey OhiraKyou -

If you are wanting to use custom HLSL script you can input that code in a Custom node, and as long as it outputs a 3 Vector you should be able to us the World Aligned Texture Material Functions construction, but you will not be able to use the actual node itself.

Let me know if I need to clarify further -

Eric Ketchum

avatar image OhiraKyou Oct 01 '14 at 03:46 PM

The Texture Sample nodes used to align textures to the world in the WorldAlignedTexture function do not accept vectors; they only accept textures, which excludes procedural noise, gradients, and other float1-3 (vector) values. Copying the WorldAlignedTexture function is easy enough, but replacing the all-important Texture Sample nodes, which apply the world UVs, is the road block.

(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