• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 557 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0085 秒)

531. 自定义2D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...; vec4 color = getSpriteTextureColor(); #ifdef GRAY float gray = dot(color.rgb, vec3(0.299, 0.587, 0.114)); // 转换为灰度 color.rgb = vec3(gray); #endif setglColor(color); } #endGLSL 最终的效果如动图7-1所示,通过宏开关控制图像是否为灰度图,可以看到勾选后变成...

来源: Laya3.0_文档 发布时间: 20251010

532. 某些机型drawToCanv绘图颜色变深 [ 42%]

...yle', "z-index:100001;position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0);"); Browser.document.body.appendChild(_webframe); 下面图片左边是正产机型截图,右边是联想手机截图。已测试jepg和png格式结果都一样。 附件 : --> 2018-01-03 添加评论 免费帖...

来源: Laya_社区 发布时间: 20180103

533. laya.d3.core.material.Material_API3.0 [ 42%]

..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount shaderData stencilOp stencilRef st...

来源: Laya3.0_api 发布时间: 20231115

534. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 41%]

...: 不对的模型是那一半的法线有问题,你可以 gl_FragColor.rgb = normal 看下效果就知道问题了! 2017-05-25 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: 右边这个是用unity导出插件1.01导出的,效果正常了,左边那几个都是fbx工具转的,是不是...

来源: Laya_社区 发布时间: 20170524

535. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 41%]

... alphaTestValue backDiffuse backScale blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed enableTransmission enableVertexColor gpuMemory id materialRenderMode normalTexture obsolut...

来源: Laya3.0_api 发布时间: 20231115

536. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 40%]

..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount shaderData stencilOp stencilRef st...

来源: Laya3.0_api 发布时间: 20231102

537. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 39%]

..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount shaderData stencilOp stencil...

来源: Laya3.0_api 发布时间: 20231115

538. laya.d3.core.material.EffectMaterial_API3.0 [ 38%]

..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount renderMode shaderData stenci...

来源: Laya3.0_api 发布时间: 20231115

539. laya.d3.core.trail.TrailMaterial_API3.0 [ 38%]

..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount renderMode shaderData stenci...

来源: Laya3.0_api 发布时间: 20231115

540. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 38%]

..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed exposure gpuMemory id materialRenderMode obsolute referenceCount rotation shaderData stenc...

来源: Laya3.0_api 发布时间: 20231115