大约有 23 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0017 秒)
... highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.v...
来源: Laya2.0_文档 发布时间: 20210715
...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_示例 发布时间: 20241124
..., 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/sk...
来源: Laya_示例 发布时间: 20241124