大约有 56 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)
... "child": }, { "type":"DirectionLight", "props":{ "isStatic":false, "name":"Directional Light", "intensity":1, "ligh...
来源: Laya_社区 发布时间: 20180122
...: Shader3D.PERIOD_SPRITE, 'u_LightMap': Shader3D.PERIOD_SPRITE, 'u_LightMapDirection': Shader3D.PERIOD_SPRITE, 'u_CameraPos': Shader3D.PERIOD_CAMERA, 'u_Viewport': Shader3D.PERIOD_CAMERA, 'u_ProjectionParams': Shader3D.PERIOD_CAMERA, 'u_View': Shader3D.PERIOD_CAMERA, 'u_ViewProjection': Shader3D.PER...
来源: Laya2.0_文档 发布时间: 20210714
...u_NoiseTex; uniform vec3 u_CameraPos; uniform vec3 u_AmbientColor; uniform DirectionLight u_DirectionLight; uniform float u_Time; varying vec2 v_textcoord; varying vec3 v_normal; varying vec4 v_wpos; void main() { float _NoiseSpeedX = 1.0; float _NoiseSpeedY = 1.0; float _NoiseScaleX = 0.2; float ...
来源: Laya_社区 发布时间: 20190923
...: Shader3D.PERIOD_SPRITE, 'u_LightMap': Shader3D.PERIOD_SPRITE, 'u_LightMapDirection': Shader3D.PERIOD_SPRITE, 'u_CameraPos': Shader3D.PERIOD_CAMERA, 'u_Viewport': Shader3D.PERIOD_CAMERA, 'u_ProjectionParams': Shader3D.PERIOD_CAMERA, 'u_View': Shader3D.PERIOD_CAMERA, 'u_ViewProjection': Shader3D.PER...
来源: Laya2.0_文档 发布时间: 20210715
...: Shader3D.PERIOD_SPRITE, 'u_LightMap': Shader3D.PERIOD_SPRITE, 'u_LightMapDirection': Shader3D.PERIOD_SPRITE, 'u_CameraPos': Shader3D.PERIOD_CAMERA, 'u_Viewport': Shader3D.PERIOD_CAMERA, 'u_ProjectionParams': Shader3D.PERIOD_CAMERA, 'u_View': Shader3D.PERIOD_CAMERA, 'u_ViewProjection': Shader3D.PER...
来源: Laya2.0_文档 发布时间: 20210715
...enderingOrder = -1; renderTargetCamera.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 layaMonkey = scene.addChild(Laya.Sprite3D.loa...
来源: Laya_示例 发布时间: 20241118
...ector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSpri...
来源: Laya_示例 发布时间: 20241118
...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../....
来源: Laya_示例 发布时间: 20241118
...ector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSpri...
来源: Laya_示例 发布时间: 20241118
...3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; i...
来源: Laya_社区 发布时间: 20170331