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.
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.
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.