{
"name": "sixPointLighting",
"displayName": "Six Point Lighting",
"description": "Six point lighting settings.",
"properties": [
{
"name": "texturePackMode",
"displayName": "Texture Pack Mode",
"description": "Determines how the textures are sampled.",
"type": "Enum",
"enumValues": [ "TpLftRtBt_FrBck", "RtLftTp_BtBckFr" ],
"defaultValue": "TpLftRtBt_FrBck",
"connection": {
"type": "ShaderOption",
"name": "o_sixPointTexturePackMode"
}
},
{
"name": "TLRB",
"displayName": "Top Left Right Bottom",
"description": "Top Left Right Bottom Lightmap",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_topLeftRightBottomMap"
}
},
{
"name": "FB",
"displayName": "Front Back",
"description": "Front Back Lightmap",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_frontBackMap"
}
},
{
"name": "RLT",
"displayName": "Right Left Top",
"description": "Right Left Top Lightmap",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_rightLeftTopMap"
}
},
{
"name": "BBF",
"displayName": "Bottom Back Front",
"description": "Bottom Back Front Lightmap",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_bottomBackFrontMap"
}
},
{
"name": "useDepthTexture",
"displayName": "Use Depth",
"description": "Whether to use the depth map.",
"type": "Bool",
"defaultValue": false
},
{
"name": "depthMap",
"displayName": "Depth",
"description": "Depth texture map",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_depthMap"
}
},
{
"name": "depthScale",
"displayName": "Scale the Depth Texture",
"description": "Multiplier for the depth texture",
"type": "Float",
"defaultValue": 10.0,
"min": 0.01,
"connection": {
"type": "ShaderInput",
"name": "m_depthScale"
}
},
{
"name": "rowCount",
"displayName": "Rows in Flipbook",
"description": "Total rows of animation in the flipbook",
"type": "Float",
"defaultValue": 8.0,
"min": 1.0,
"step": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_rowCount"
}
},
{
"name": "columnCount",
"displayName": "Columns in Flipbook",
"description": "Total columns of animation in the flipbook",
"type": "Float",
"defaultValue": 8.0,
"min": 1.0,
"step": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_columnCount"
}
},
{
"name": "enableDebugFrame",
"displayName": "Enable debugging a specific frame",
"description": "Locks the frame of the animation",
"type": "Bool",
"defaultValue": false,
"connection": {
"type": "ShaderOption",
"name": "o_enableDebugFrame"
}
},
{
"name": "debugFrame",
"displayName": "Debug Frame",
"description": "The frame you want to debug",
"type": "Float",
"defaultValue": 1.0,
"min": 1.0,
"step": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_debugFrame"
}
},
{
"name": "_UJump",
"displayName": "U jump per phase",
"description": "Factor for blending Color and Texture. The behavior depends on Texture Blend Mode. Or if there is no Texture, then this simply scales the Color value.",
"type": "Float",
"defaultValue": 0.25,
"min": -0.25,
"max": 0.25,
"connection": {
"type": "ShaderInput",
"name": "m_ujump"
}
},
{
"name": "_VJump",
"displayName": "V jump per phase",
"description": "Factor for blending Color and Texture. The behavior depends on Texture Blend Mode. Or if there is no Texture, then this simply scales the Color value.",
"type": "Float",
"defaultValue": 0.25,
"min": -0.25,
"max": 0.25,
"connection": {
"type": "ShaderInput",
"name": "m_vjump"
}
},
{
"name": "tiling",
"displayName": "Tiling",
"description": "Tiling.",
"type": "Float",
"defaultValue": 0.0,
"min": 0.0,
"max": 5.0,
"connection": {
"type": "ShaderInput",
"name": "m_tiling"
}
},
{
"name": "speed",
"displayName": "Speed",
"description": "Speed.",
"type": "Float",
"defaultValue": 0.0,
"min": 0.0,
"max": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_speed"
}
},
{
"name": "flowstrength",
"displayName": "FlowStrength",
"description": "Flow Strength.",
"type": "Float",
"defaultValue": 0.0,
"min": 0.0,
"max": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_flowstrength"
}
},
{
"name": "flowoffset",
"displayName": "FlowOffset",
"description": "Flow Offset.",
"type": "Float",
"defaultValue": 0.0,
"min": -1.0,
"max": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_flowoffset"
}
},
{
"name": "heightscale",
"displayName": "HeightScale",
"description": "Height Scale Constant.",
"type": "Float",
"defaultValue": 0.25,
"min": 0.0,
"max": 2.0,
"connection": {
"type": "ShaderInput",
"name": "m_heightscale"
}
},
{
"name": "heightscalemodulated",
"displayName": "HeightScaleModulated",
"description": "Height Scale Modulated.",
"type": "Float",
"defaultValue": 0.0,
"min": 0.0,
"max": 10.0,
"connection": {
"type": "ShaderInput",
"name": "m_heightscalemodulated"
}
},
{
"name": "derivheightmap",
"displayName": "Deriv Height Map",
"description": "Deriv Height map",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_derivheightmap"
}
},
{
"name": "flowmap",
"displayName": "Flow Map",
"description": "Flowmap",
"type": "Image",
"connection": {
"type": "ShaderInput",
"name": "m_flowmap"
}
},
{
"name": "glossiness",
"displayName": "Smoothness",
"description": "The map smoothness.",
"type": "Float",
"defaultValue": 0.0,
"min": 0.0,
"max": 1.0,
"connection": {
"type": "ShaderInput",
"name": "m_smoothness"
}
}
],
"functors": [
{
"type": "UseTexture",
"args": {
"textureProperty": "depthMap",
"useTextureProperty": "useDepthTexture",
"shaderOption": "o_enableDepthTexture"
}
}
]
}
没有合适的资源?快使用搜索试试~ 我知道了~
o3de实现Texture Distortion
共16个文件
shader:4个
lua:4个
azsli:4个
需积分: 5 0 下载量 184 浏览量
2023-05-10
13:47:54
上传
评论
收藏 19KB ZIP 举报
温馨提示
用o3de实现unity的Texture Distortion https://catlikecoding.com/unity/tutorials/flow/texture-distortion/
资源推荐
资源详情
资源评论
收起资源包目录
WaterUV.zip (16个子文件)
WaterUV
SixPointLighting_Common.azsli 7KB
WaterFlow.materialtype 4KB
MaterialInputs
SixPointLightingPropertyGroup.json 7KB
SixPointLighting_DepthPass_WithPS.shader 428B
SixPointLighting.azsli 4KB
SixPointLighting_DepthPassTransparentMin_WithPS.shader 533B
MaterialFunctions
EvaluateSixPointSurface.azsli 4KB
SixPointLighting_TexturePackEnum.lua 2KB
SixPointLighting_HandleOpacityMode.lua 5KB
SixPointLighting_HandleOpacityDoubleSided.lua 998B
SixPointLighting_DepthPass_WithPS.azsl 2KB
SixPointLighting_ShaderEnable.lua 1KB
SixPointLighting_ForwardPass.azsl 9KB
SixPointLighting_ForwardPass.shader 1KB
SixPointSurface.azsli 4KB
SixPointLighting_DepthPassTransparentMax_WithPS.shader 739B
共 16 条
- 1
资源评论
SteptoStep_001
- 粉丝: 204
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功