大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0012 秒)
... "mat3 worldMat=mat3(u_WorldMat);\n" + "v_Normal=worldMat*a_Normal;}"; var ps = "#ifdef FSHIGHPRECISION\n" + "precision highp float;\n" + "#else\n" + "precision mediump float;\n" + "#endif\n" + "varying vec3 v_Normal;\n" + "void main(){\n" + "gl_FragColor=vec4(v_Normal,1.0);}\n"; Laya.ShaderCompile3...
来源: Laya_示例 发布时间: 20251130
...World=(u_WorldMat*a_Position).xyz;\n" + "#endif\n" + "#endif\n" + "}"; var ps = "#ifdef FSHIGHPRECISION\n" + "precision highp float;\n" + "#else\n" + "precision mediump float;\n" + "#endif\n" + "#include?DIRECTIONLIGHT||POINTLIGHT||SPOTLIGHT 'LightHelper.glsl';\n" + "varying vec2 v_Texcoord;\n" + "u...
来源: Laya_示例 发布时间: 20251130
...l.setSpecularColor(new Laya.Vector4(1, 1, 1, 8)); customMaterial.setLightMapScaleOffset(new Laya.Vector4(0.8056641, 0.8056641, 0.001573598, -6.878261E-11)); meshSprite3D.meshRender.sharedMaterial = customMaterial; } for (var i = 0, n = spirit3D._childs.length; i < n; i++) setCustomMaterial(spirit3D....
来源: Laya_示例 发布时间: 20251130