大约有 540 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
..._defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color colorA colorB colorG colorR cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount ...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...e alphaTest alphaTestValue anisotropy blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed emissionColor emissionIntensity emissionTexture enableEmission gpuMemory id materialRender...
来源: Laya3.0_api 发布时间: 20231102
... anisotropyRotation anisotropyTexture blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB clearCoat clearCoatEnable clearCoatNormalTexture clearCoatRoughness clearCoatRoughnessTexture clearCoatTexture cpuMemory cull depthTest ...
来源: Laya3.0_api 发布时间: 20231115
... anisotropyRotation anisotropyTexture blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB clearCoat clearCoatEnable clearCoatNormalTexture clearCoatRoughness clearCoatRoughnessTexture clearCoatTexture cpuMemory cull depthTest ...
来源: Laya3.0_api 发布时间: 20231115
...多,就越接近真实 ibl Tex:环境立方体贴图 (Cubemap) ibl Tex RGBD:默认采用RGB深度图 采用IBL时,环境光必须采用 Spherical Harmonics 方式,当点击 Generate Light 后,可以看到IBL Tex纹理会自动生成,并可以在3D物体的材质种调节反射效果。...
来源: Laya3.0_文档 发布时间: 20231129
...的高光镜面反射,根据物体当前顶点的uv在高光贴图上的rgb数值来反映物体当前顶点的光滑反射程度,如图2-1-1-5-1与图2-1-1-5-2所示: 图2-1-1-5-1 图2-1-1-5-2 在设置高光贴图前后,可以明显看到由于高光贴图的影响,只对墙壁的部分...
来源: Laya3.0_文档 发布时间: 20230714
...。 这种颜色称为顶点颜色,默认情况下对应于白色,在 RGBA 通道中具有值“1.0”。 2.2 规则说明 Shader3D Start/End Shader文件头/尾 用于声明渲染pass,渲染状态、材质参数等参数 Shader3D Start { //此处填写Shader渲染pass、渲染状态、材质...
来源: Laya3.0_文档 发布时间: 20240926