大约有 18 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0030 秒)
..._Texcood0; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; varying vec3 v_Normal; varying vec2 uv; varying vec4 worldPos; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat = mat3(u_WorldMat); v_Normal = worldMat * a_Normal; worldPos = u_WorldMat * a_Position; uv = a_Texcood0; gl...
来源: Laya_社区 发布时间: 20190814
..._MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; varying vec2 v_Texcoord0; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; v_Texcoord0 = a_Texcoord0; gl_Position=remapGLPositionZ(gl_Position); } ```...
来源: Laya2.0_文档 发布时间: 20210715
..._MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; varying vec2 v_Texcoord0; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; v_Texcoord0 = a_Texcoord0; gl_Position=remapGLPositionZ(gl_Position); } ```...
来源: Laya2.0_文档 发布时间: 20210715
..._MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; varying vec2 v_Texcoord0; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; v_Texcoord0 = a_Texcoord0; gl_Position=remapGLPositionZ(gl_Position); } ```...
来源: Laya2.0_文档 发布时间: 20210715
..._MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; varying vec2 v_Texcoord0; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; v_Texcoord0 = a_Texcoord0; gl_Position=remapGLPositionZ(gl_Position); } ```...
来源: Laya2.0_文档 发布时间: 20210715
..._MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; varying vec2 v_Texcoord0; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; v_Texcoord0 = a_Texcoord0; gl_Position=remapGLPositionZ(gl_Position); } ```...
来源: Laya2.0_文档 发布时间: 20210715
...rm vec4 u_lightmapScaleOffset;\n\nattribute vec3 a_Normal;\n\nvarying vec3 v_Normal;\n\nvarying vec3 v_PositionWorld;\n\nvarying vec2 v_Texcoord0;\nvarying vec2 v_Texcoord1;\n\nvoid main()\n{\n gl_Position = u_MvpMatrix * a_Position;\n \n v_Normal = a_Normal;\n v_Texcoord0 = a_Texcoord0;\n v_Positio...
来源: Laya_示例 发布时间: 20241118
...一化,代码示例如下: // 归一化法线 vec3 normal = normalize(v_normal); 7.ShaderPass 前面我们在SubShader中简要的介绍了Pass的作用,在本节中我们会结合详细的Shader内容来展示ShaderPass的具体功能 Shader3D Start { type:Shader3D name:exmpleShader enableIns...
来源: Laya3.0_文档 发布时间: 20241014