大约有 331 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
...深度。 UnlitMaterial enableVertexColor : Boolean 获取是否支持顶点色。 UnlitMaterial renderMode : int[write-only] 设置渲染模式。 UnlitMaterial renderQueue : int 所属渲染队列.BaseMaterial SHADERDEFINE_ALBEDOTEXTURE : int[static] UnlitMaterial SHADERDEFINE_ENABLEV...
来源: Laya2.0_api 发布时间: 20190513
...qzhzd • 2017-12-14 14:24 我观察了一下,ShaderSprite里面在放置顶点的时候宽高分别乘以8,这是为什么呢。而我没有使用所以导致缩小了 whaqzhzd • 2017-12-14 14:07 这么神奇的吗 whaqzhzd • 2017-12-14 14:07 我试试 whaqzhzd • 2017-12-14 14:09 可以...
来源: Laya_社区 发布时间: 20171214
...eSkin 类用于创建位置、法线、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalTextureSkinTangent blendWeight : Vector4[read-only] VertexPositionNormalTextureSkinTangent normal : Vector3[re...
来源: laya_api 发布时间: 20170929
...rSkin 类用于创建位置、法线、颜色、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalColorSkinTangent blendWeight : Vector4[read-only] VertexPositionNormalColorSkinTangent color : Vector4[read-on...
来源: laya_api 发布时间: 20170929
...用于创建位置、法线、颜色、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalColorTextureSkin blendWeight : Vector4[read-only] VertexPositionNormalColorTextureSkin color : Vector4[read-on...
来源: laya_api 发布时间: 20170929
...乘以1都会报"invalid shaders"这个错误,这是为什么 v_pos是顶点着色器传过来的值 2018-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 写shader问题不在服...
来源: Laya_社区 发布时间: 20180806
...首先来看下着色器代码: ##### 第一个Pass使用的着色器: 顶点着色器 `outline.vs` 代码如下: ```c++ attribute vec4 a_Position; attribute vec3 a_Normal; uniform mat4 u_MvpMatrix; uniform float u_OutlineWidth; void main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_...
来源: Laya2.0_文档 发布时间: 20210715
...-01 0 4 分享 微博 QZONE 微信 大林 赞同来自: shader里面传4个顶点色,就可以实现渐变 2018-08-01 0 3 分享 微博 QZONE 微信 137*****130 赞同来自: 2018-08-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人...
来源: Laya_社区 发布时间: 20180801
...67261 赞同来自: 你这个场景模型有问题的!有laya不支持的顶点生命,你是不是用了laya不支持的材质或者别的什么东西 2018-04-24 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gameuser 相关问题 un...
来源: Laya_社区 发布时间: 20180420
...首先来看下着色器代码: ##### 第一个Pass使用的着色器: 顶点着色器 `outline.vs` 代码如下: ```c++ attribute vec4 a_Position; attribute vec3 a_Normal; uniform mat4 u_MvpMatrix; uniform float u_OutlineWidth; void main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_...
来源: Laya2.0_文档 发布时间: 20210715