Formula Shader

方程式着色器

Basic 基础Shader 着色器

Formula Shader

方程式着色器

Users who possess a certain level of mathematical skills can use the Formula shader to create gray scale gradients using a formula. The variables are the texture coordinates U, V and W, position coordinates (both local and global) X, Y, Z and T (for time) as well as the User Data created by the user (note: User Data names cannot contain spaces or punctuation!).

拥有一定数学水平的用户可以使用公式着色器创建灰度梯度使用公式。变量包括纹理坐标 u、 v 和 w、位置坐标(局部和全局) x、 y、 z 和 t (表示时间)以及用户创建的用户数据(注意: 用户数据名称不能包含空格或标点符号!).

When rendering in 32-bit color depth, the Color setting is not restricted to an RGB range of 0 to 255. Very high values can also be applied, which gives the Formula shader a type of HDRI effect.

在32位颜色深度中呈现时,颜色设置不限于0到255的 RGB 范围。非常高的值也可以应用,这使公式着色器的一种类型的 HDRI 效果。