大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0019 秒)
...。(function() { var Stage = Laya.Stage; var HSlider = Laya.HSlider; var VSlider = Laya.VSlider; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.A...
来源: Laya_示例 发布时间: 20241118
...function() { var Stage = Laya.Stage; var HScrollBar = Laya.HScrollBar; var VScrollBar = Laya.VScrollBar; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH =...
来源: Laya_示例 发布时间: 20241118
...RITE] }; var customShader = Laya.Shader3D.nameKey.add("CustomShader"); var vs = "attribute vec4 a_Position;\n" + "uniform mat4 u_MvpMatrix;\n" + "uniform mat4 u_WorldMat;\n" + "attribute vec3 a_Normal;\n" + "varying vec3 v_Normal;\n" + "void main(){\n" + "gl_Position = u_MvpMatrix * a_Position;\n" +...
来源: Laya_示例 发布时间: 20241118
...CENE] }; var customShader = Laya.Shader3D.nameKey.add("CustomShader"); var vs = "attribute vec4 a_Position;\n" + "attribute vec2 a_Texcoord;\n" + "attribute vec3 a_Normal;\n" + "uniform mat4 u_MvpMatrix;\n" + "uniform mat4 u_WorldMat;\n" + "varying vec2 v_Texcoord;\n" + "varying vec3 v_Normal;\n" + ...
来源: Laya_示例 发布时间: 20241118
...ustomTerrianShader = Laya.Shader3D.nameKey.add("CustomTerrainShader"); var vs="attribute vec4 a_Position;\nattribute vec2 a_Texcoord0;\nattribute vec2 a_Texcoord1;\n\nuniform mat4 u_MvpMatrix;\nuniform mat4 u_WorldMat;\nuniform vec4 u_lightmapScaleOffset;\n\nattribute vec3 a_Normal;\n\nvarying vec3 ...
来源: Laya_示例 发布时间: 20241118