大约有 557 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...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
... v_shadow_data = uv; #endif片段着色器: gl_FragColor.rgb=saturate(texture2D(u_ShadowMapTex, v_shadow_data1.xy).rgb); ts代码设置u_ShadowMapTex onUpdate(){ this.ShadowCamera.transform.lookAt(new Vector3(0,0,0), new Vector3(0,1,0), false); ...
来源: Laya_社区 发布时间: 20200229
...件中: #ifdef LIGHTMAP finalDiffuse=texture2D(u_LightMap, v_LightMapUV).rgb*2.0; //float exponent = texture2D(u_LightMap, v_LightMapUV).a; //finalDiffuse = texture2D(u_LightMap, v_LightMapUV).rgb; //float ratio = pow(2.0, exponent * 255.0 - (128.0 + 8.0)); //finalDiffuse = finalDiffuse * 255.0 * ...
来源: Laya_社区 发布时间: 20180223
...ORMAT_DXT5 : int = 4[static] 纹理格式_DXT5。BaseTexture FORMAT_ETC1RGB : int = 5[static] 纹理格式_ETC2RGB。BaseTexture FORMAT_PVRTCRGB_2BPPV : int = 9[static] 纹理格式_PVRTCRGB_2BPPV。BaseTexture FORMAT_PVRTCRGB_4BPPV : int = 11[static] 纹理格式_PVRTCRGB_4BPPV。BaseTextu...
来源: Laya2.0_api 发布时间: 20190513
...-premultiply Run a preprocess over the image that scales RGB components in the image by the alpha value. Preprocessing applies before any codec encoding swizzle, so color data must be in the RGB components in the source image. 2...
来源: Laya_社区 发布时间: 20220824
...添加序列帧动画 SCRIPT445: 对象不支持此操作 graphics不支持rgb(155,155,155)? laya2.0构建app时url不再支持.html文件,但是需要runtime.json这个文件是怎么来的? Laya.MathUtil.getRotation接口说明注释错误 打包成app,请问棋牌游戏大厅那种模式...
来源: Laya_社区 发布时间: 20180402
...但是不知道为什么会跳帧。 如何获取图片每个像素点的RGB? 问题状态 最新活动: 2019-05-24 16:41 浏览: 919 关注: 2 人 186*****868 • 2019-07-25 16:35 改3d粒子颜色。rgb 三个色值。如果三个数值不为零就不生效。其中有一个为零颜色生效。...
来源: Laya_社区 发布时间: 20190213
... QZONE 微信 ippon 赞同来自: 发现是误操作引起的问题了,rgb代码输入的时候漏了‘#’ 2019-01-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ippon 相关问题 ios14系统下 blendMode='lighter' 图片异常 b...
来源: Laya_社区 发布时间: 20190107
...的发现枚举的注释居然是ETC2何解? /**纹理格式_ETC2RGB。*/ ETC1RGB = 5,顺便求问项目代码中如何使用ETC纹理,有相关文档介绍下吗? 感觉各位大神不吝赐教! 2020-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20200814