浏览代码

Adjust checkerboard colors for node previews

/main
Peter Bay Bastian 7 年前
当前提交
e86d275d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Shaders/Checkerboard.shader

4
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Shaders/Checkerboard.shader


uniform float _X;
uniform float _Y;
static const float4 col1 = float4(0.25, 0.25, 0.25, 1.0);
static const float4 col2 = float4(0.75, 0.75, 0.75, 1.0);
static const float4 col1 = float4(0.15, 0.15, 0.15, 1.0);
static const float4 col2 = float4(0.3, 0.3, 0.3, 1.0);
float4 frag(v2f_img i) : COLOR
{

正在加载...
取消
保存