大约有 193 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0139 秒)
...imation -> Enabled UV Channels -> Nothing, Everything, UV1, UV2, UV3 Lights Trails 2016-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 9 个回复 cuixueying 赞同来自: wangchuanjin 谢谢! 2016-12-19 1 1 分...
来源: Laya_社区 发布时间: 20161219
...e, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); var grid = scene.addChild(Laya.Sprite3D.load("../../res/th...
来源: Laya_示例 发布时间: 20241118
...影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () {...
来源: Laya_示例 发布时间: 20241118
...N precision highp float; #else precision mediump float; #endif #include "Lighting.glsl"; uniform sampler2D u_MainTex; uniform sampler2D u_NoiseTex; uniform vec3 u_CameraPos; uniform vec3 u_AmbientColor; uniform DirectionLight u_DirectionLight; uniform float u_Time; varying vec2 v_textcoord; v...
来源: Laya_社区 发布时间: 20190923
...es/threeDimen/scene/terrain/terrain/splatalpha 0.png")); customMaterial.setLightMapTexture(Laya.Texture2D.load("../../res/threeDimen/scene/terrain/Assets/Scenes/Level/XunLongShi/Lightmap-0_comp_light.png")); customMaterial.setDiffuseTexture1(Laya.Texture2D.load("../../res/threeDimen/scene/terrain/te...
来源: Laya_示例 发布时间: 20241118
... 'u_MainCol': Laya.Shader3D.PERIOD_MATERIAL }; var vs:string = ` #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec3 a_Normal; attribute vec2 a_Texcood0; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; varying vec3 v_Normal; varying vec2 uv; varying vec4 worldPos; void main() { gl...
来源: Laya_社区 发布时间: 20190814
...a.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(La...
来源: Laya_示例 发布时间: 20241118
... true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); pointLight.attenuation = new Laya.Vector3(0...
来源: Laya_示例 发布时间: 20241118
...ue, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureC...
来源: Laya_示例 发布时间: 20241118
..., true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); spotLight.direction = new Laya.Vector3(0.15, -1.0, 0.0); spotLight.att...
来源: Laya_示例 发布时间: 20241118