大约有 3 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0014 秒)
...\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_PositionWorld = (u_WorldMat*a_Position).xyz;\n \n #ifdef CUSTOM_LIGHTMAP\n //v_Texcoord1 = a_Texcoord0 * u_lightmapScaleOffset...
来源: Laya_示例 发布时间: 20241119
...ibute vec3 a_Normal;\n" + "varying vec3 v_Normal;\n" + "void main(){\n" + "gl_Position = u_MvpMatrix * a_Position;\n" + "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" + ...
来源: Laya_示例 发布时间: 20241119
...* a_BoneWeights.w;\n" + "vec4 position = skinTransform * a_Position;\n" + "gl_Position=u_MvpMatrix * position;\n" + "mat3 worldMat=mat3(u_WorldMat * skinTransform);\n" + "#else\n" + "gl_Position=u_MvpMatrix * a_Position;\n" + "mat3 worldMat=mat3(u_WorldMat);\n" + "#endif\n" + "v_Texcoord=a_Texcoord;...
来源: Laya_示例 发布时间: 20241119