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"

How do I use ComputeMipLevel node in material editor?

alt text

How do I use ComputeMipLevel node in material editor?

Is is possible to change mip level of material using this node?

How do i activate custom data 0 and custom data 1 pin?

Please explain with example.

Product Version: UE 4.12
Tags:
more ▼

asked Jun 21 '16 at 09:31 AM in Rendering

avatar image

L34D3R
527 21 34 51

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

1 answer: sort voted first

alt text

Q1: How do I use ComputeMipLevel node in material editor?

A1: Hook it up like it is shown in the image, You can use the output of the miplevel for whatever you like.


Q2: Is is possible to change mip level of material using this node?

A2: Materials don't set the mip level, samples of a texture do this for the texture it is sampling. In the image it shows a Sample node in which you can hook up the Level, which is the mip level. To see this input you need to set MipValueMode on the Sample node to MipLevel instead of None.


Q3: How do i activate custom data 0 and custom data 1 pin?

A3: Click on the main material node, in the material tab it has an option "Num Customized UVs", set this number to the amount of custom variables you would like to have in the main material node. It basically mean it will run the code in the vertex program, si it will be cheaper. You can get the data by using a TextureCoordinate node. You don'y need it till you know what your trying to optimize.

material.jpg (763.6 kB)
more ▼

answered Jun 21 '16 at 12:25 PM

avatar image

Roel
2.4k 69 42 141

avatar image L34D3R Jun 21 '16 at 06:08 PM

alt textThanks Roel for detail answers.

When I select mip level mode= derivative, What should I give as the inputs of DDX and DDY ?

When to use anistropic filtering, When not to use it ?

(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