ID:27859544
大小:218.37 KB
页数:9页
时间:2018-12-06
Shader"Effects/Plasma"{Properties{_MainTex("Base(RGB)",RECT)="white"{}_ColorBand("Base(RGB)",2D)="white"{}}SubShader{ZTestAlwaysCullOffZWriteOff学VR上我学院www.woxueyuan.com学IT技能上我学院网woxueyuan.comFog{Modeoff}Pass{CGPROGRAM#pragmavertexvert_img#pragmafragmentfragSh
7、#pragmafragmentoptionARB_precision_hint_fastest#include"UnityCG.cginc"uniformsamplerRECT_MainTex;uniformsampler2D_ColorBand;float4fragSh(v2f_imgi):COLOR{float2ca=float2(0.2,0.2);float2cb=float2(0.7,0.9);floatda=distance(i.uv,ca);floatdb=distance(i.uv,cb);floatc1=sin(da*_CosTime.y*
8、16+_Time.x);学VR上我学院www.woxueyuan.
此文档下载收益归作者所有