2020
09-28
09-28
Unity3D Shader实现动态星空
本文实例为大家分享了Unity3DShader实现动态星空的具体代码,供大家参考,具体内容如下Shader"Unlit/Test"{Properties{[Gamma][Header(CubeMap)]_MainColor("MainColor",COLOR)=(0.5,0.5,0.5,1)_Spec("Spec",Range(1,8))=1[NoScaleOffset]_Tex("CubeMap",CUBE)="black"{}[Header(Rotation)][Toggle(_ENABLEROTATION_ON)]_EnableRotation("EnableRotation",Float)=0[IntRange]_Rotation("Rotation",Range(0,360))=0_RotationSpee...
继续阅读 >