大约有 540 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)
...al blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染剔除。BaseMaterial depthFunc : int深度测试函数。BaseMaterial depthTest : Boolean是否深度测试。BaseMaterial depthWrite : Boolean是否深度写入。...
来源: laya_api 发布时间: 20170929
...道,不带颜色。(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
...-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
...al blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染剔除。BaseMaterial depthFunc : int深度测试函数。BaseMaterial depthTest : Boolean是否深度测试。BaseMaterial depthWrite : Boolean是否深度写入。...
来源: laya_api 发布时间: 20170929
...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
...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
...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
...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
...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
...="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