Advanced settings


There are several advanced settings in the effect panel.

Language

It controls which compiler to be used.


Wrap U/V sampler

This will affect the result of getColor() when sampler the pixels which are outside the boundary of the image.

Test code (Apply PixelsWorld to a footage.):

wrap_uv_sampler.shader

void main(){
    outColor = getColor(uv*10);
}

Magnify/Minify sampler

This will affect the behavior of getColor() when the sampler wants to do the interpolation of surrounding pixels.

Test code (Apply PixelsWorld to footage.):

wrap_uv_sampler.shader

void main(){
    outColor = getColor(uv*0.1);
}

If you want to build the same pixel style effect. Switch this option to Nearest pixel

Mipmap

Specify how the sampler sample color while the texture is scaled down.

wrap_uv_sampler.shader

void main(){
    outColor = getColor(uv*10);
}

results matching ""

    No results matching ""