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"

Shaders vs Materials

So I have been doing some digging and I am finding that people are often referring to the material they create in the editor as a shader. From my previous understanding, a shader defines how light reacts to things and a material defines what something should look like under light.

I realize these definitions might not be 100% correct (and any input on that would be appreciated) but my question is, why does it seem that many people are using "shader" to describe the "material" they are making?

Product Version: Not Selected
Tags:
more ▼

asked Feb 17 '15 at 06:57 PM in Rendering

avatar image

RuBa1987
484 24 21 52

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

1 answer: sort voted first

In engine terminology we use material to mean the asset an artist creates which describes how a surface or volume reacts to light. It will have properties like BaseColor, Roughness, etc.

A shader however is a graphics API resource, not something that artists will interact with at all. Under the hood a material is compiled into multiple shaders to implement the various rendering features, for example there's one shader that will handle rendering the material in a shadow depth pass. So when you see a message about compiling shaders, that's the engine creating the graphics API resources needed to implement the rendering features on your materials.

more ▼

answered Feb 20 '15 at 11:28 PM

avatar image

DanielW STAFF
1.9k 31 11 72

(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