随笔分类 -  CG(Shader)

摘要:使用到了两层Shader,依据先后遮挡关系判定渲染。 1.Cull Back.shader 2.Cull Front.shader 运行效果 最后补充一种用模型的方法,模型做好掏空的结构。 阅读全文
posted @ 2018-03-21 19:14 GamePal 阅读(363) 评论(0) 推荐(0)
摘要:Camera Shader Unity调用 运行测试 阅读全文
posted @ 2017-04-18 12:41 GamePal 阅读(348) 评论(0) 推荐(0)
摘要://Character Shader With Hurt Flare and FlareColor//Author yellowcrayon@163.comShader "DreamFaction/Characters/CharacterV3" { Properties { [MaterialTog 阅读全文
posted @ 2015-09-15 16:46 GamePal 阅读(546) 评论(0) 推荐(0)
摘要:1、导入Max模型 摆成10*10阵列 2、创建WaveShader,指定给一个新的Material并赋予Plane 3.创建RenderTexture > DepthTexture 指定给新建摄像机的TargetTexture 4、调整WaveShader的属性 使DepthTexture达到想要 阅读全文
posted @ 2015-07-21 20:58 GamePal 阅读(368) 评论(0) 推荐(0)
摘要:Shader "Custom/BasicDiffuse" { Properties { _EmissiveColor ("Emissive Color", Color) = (1,1,1,1) _AmbientColor ("Ambient Color", Color) = (1,1,1,1) _M 阅读全文
posted @ 2015-06-16 11:48 GamePal 阅读(572) 评论(0) 推荐(0)