大约有 3 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0016 秒)
...ormal;\n" + "void main(){\n" + "gl_FragColor=vec4(v_Normal,1.0);}\n"; Laya.ShaderCompile3D.add(customShader, vs, ps, attributeMap, uniformMap); }class Shader_Simple { private rotation: Laya.Vector3; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.scr...
来源: Laya_示例 发布时间: 20241124
...or = 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; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stag...
来源: Laya_示例 发布时间: 20241124
...oord1).rgb) * 2.0;\n #endif\n}\n\n\n\n"; var customTerrainCompile3D = Laya.ShaderCompile3D.add(customTerrianShader, vs, ps, attributeMap, uniformMap); CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM1 = customTerrainCompile3D.registerMaterialDefine("CUSTOM_DETAIL_NUM1"); CustomTerrainMaterial.SHADERDEF...
来源: Laya_示例 发布时间: 20241124