Unity Shader语法基础

本文主要参考来自《unity shader入门精要》一书性能 一.ShaderLab属性类型和Cg变量类型的匹配关系 Color,Vector----float4,half4,fixed4 Range,Float----float,half,fixed 2D----sampler2D Cube----samplerCube 3D----sampler3D优化 属性的修饰符有以下几种:blog 二.
相关文章
相关标签/搜索