shader condition
shader condition if vs step https://iquilezles.org/articles/gpuconditionals/ 使用场景 推荐写法 理由说明 ✅ 分支内逻辑很轻(如返回常量 color) if / else 逻辑清晰、代价极...
shader condition if vs step https://iquilezles.org/articles/gpuconditionals/ 使用场景 推荐写法 理由说明 ✅ 分支内逻辑很轻(如返回常量 color) if / else 逻辑清晰、代价极...
Houdini_intro Roll Tube - Attributes / Geometry / UV Base Scatter copytopoints Group -> group the bottom point PolyLine Bezier -> PolyLine Resample Mesh ad...
Interactive Desert Tessellation: Camera distance & Noise Displacement domain: 指定patch的类型,可选的有:tri(三角形)、quad(四边形)、isoline(线段,苹果的metal api不支持:2018/8/21)。不同的patch类型,细分的方式也有差别,后...
URPShader Template Shader "URP/unlit" { Properties { _BaseColor ("Base Color", color) = (1, 1, 1, 1) _BaseMap ("BaseMap", 2D) = "white" { } } SubShader { ...
ToonShader Unity Buit-in Pipeline Built-in shader variables Outline post-processing Back facing rim Back facing vertex -> move with dir of normal cull front ...
UE5 Material Material Graph Basic Panner: The Panner expression outputs UV texture coordinates that can be used to create panning, or moving, textures. Sine_Remapped Dissolve ...
CatlikeCoding Basics Shader Fundamentals float4 position : SV_POSITION; is transformed position after interpolation from float4 position : POSITION; so we need one more value (eg. uv)...
VFX Unity Overview Spawn Area HOW MANY PARTICLES? CONSTANT RATE OR A BURST? Initialize Particle CAPACITY SET ATTRIBUTES WHEN PARTICLE IS BORN ...
Shader intro Rendering Pipeline (Geometry and Rasterization process) Shaderlab Processing: HLSL surface: name if shader function La...
ShaderGraph Tutorial what is Vertex and Fragment - Rasterization Vertex -> mesh -> calculated by per vertex Fragment -> coloring pixel -> calculated by per pixel Vertex + Fragm...