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

大约有 540 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

21. laya.d3.core.material.PBRMaterial [ 92%]

...al blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染剔除。BaseMaterial depthFunc : int深度测试函数。BaseMaterial depthTest : Boolean是否深度测试。BaseMaterial depthWrite : Boolean是否深度写入。...

来源: laya_api 发布时间: 20170929

22. 纹理的格式(ActionScript-3D基础(AS3)-LayaAir3D之纹理) [ 92%]

...道,不带颜色。(64 KB 256x256) > Windows `FORMAT_DXT1` 压缩的RGB纹理。这是最常见的漫反射纹理格式。 4位/像素(32 KB 256x256) `FORMAT_DXT5` 压缩的RGBA纹理。1 字节/像素(64 KB 256x256) > Android `FORMAT_ETC1RGB` 压缩的RGB纹理。这是Android工程...

来源: Laya2.0_文档 发布时间: 20210715

23. 同时使用雾和粒子系统,粒子的颜色变成雾的颜色 [ 90%]

...-u_FogStart)/u_FogRange,0.0,1.0);   #ifdef ADDTIVEFOG    gl_FragColor.rgb=mix(gl_FragColor.rgb,vec3(0.0,0.0,0.0),lerpFact);   #else    gl_FragColor.rgb=mix(gl_FragColor.rgb,u_FogColor,lerpFact);   #endif  #endif }"; 删掉了这部分: #ifdef FOG   vec3 toEye=u_CameraPosition-v_Posi...

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

24. laya.d3.core.material.StandardMaterial [ 90%]

...al blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染剔除。BaseMaterial depthFunc : int深度测试函数。BaseMaterial depthTest : Boolean是否深度测试。BaseMaterial depthWrite : Boolean是否深度写入。...

来源: laya_api 发布时间: 20170929

25. laya.d3.core.material.RenderState_API3.0 [ 89%]

...constructor Properties blend blendEquation blendEquationAlpha blendEquationRGB cull depthTest depthWrite dstBlend dstBlendAlpha dstBlendRGB srcBlend srcBlendAlpha srcBlendRGB stencilOp stencilRef stencilTest stencilWrite BLENDEQUATION_ADD BLENDEQUATION_MAX BLENDEQUATION_MIN BLENDEQUATION_REVERSE_SUB...

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

26. 对于PC的DXT5格式,texture_ps并没有对alpha进行处理 [ 82%]

...ex<=0.)color = vec4(1.,1.,1.,1.);    color.a*=v_color.w;    //color.rgb*=v_color.w;    color.rgb*=v_color.rgb;    gl_FragColor=color;   不知道引擎是否支持dxt5? 附件 : --> 2021-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

27. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 82%]

...niform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribut...

来源: Laya2.0_文档 发布时间: 20210714

28. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 82%]

...niform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribut...

来源: Laya2.0_文档 发布时间: 20210715

29. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 82%]

...niform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribut...

来源: Laya2.0_文档 发布时间: 20210715

30. 苹果笔记本下Safari中显示一半 [ 81%]

...="650" style="position: absolute; left: 0px; top: 110px; background-color: rgb(255, 237, 118); transform-origin: 0px 0px 0px; transform: matrix(0.5, 0, 0, 0.5, 311, 0);"></canvas> 其他电脑上: <canvas id="layaCanvas" width="760" height="650" style="position: absolute; left: 0px; to...

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