大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0015 秒)
...ector3(0.4, 0.4, 0.0); pointLight.attenuation = new Laya.Vector3(0.0, 0.0, 3.0); pointLight.range = 3.0; var grid = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/grid/plane.lh")); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/Laya...
来源: Laya_示例 发布时间: 20241118
...vec3 Emissive = 2.0 * u_DirectionLight.Diffuse * u_marginalColor * pow(Rim,3.0);\n" + "gl_FragColor = texture2D(u_texture, v_Texcoord) + vec4(Emissive,1.0);\n" + "}"; Laya.ShaderCompile3D.add(customShader, vs, ps, attributeMap, uniformMap); }class Shader_GlowingEdge { private rotation: Laya.Vector3;...
来源: Laya_示例 发布时间: 20241118