Frédéric Vauchelles
7 年前
当前提交
504ba0e9
共有 15 个文件被更改,包括 214 次插入 和 216 次删除
-
1ScriptableRenderPipeline/HDRenderPipeline/HDRP/HDStringConstants.cs
-
91ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightDefinition.cs
-
160ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightDefinition.cs.hlsl
-
49ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/LightLoop.cs
-
14ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/LightLoop.hlsl
-
1ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/LightLoopDef.hlsl
-
3ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/materialflags.compute
-
31ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightUtilities.hlsl
-
1ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Lighting.hlsl
-
31ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Reflection/VolumeProjection.hlsl
-
14ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/Lit.hlsl
-
1ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/SubsurfaceScattering/SubsurfaceScattering.compute
-
1ScriptableRenderPipeline/HDRenderPipeline/HDRP/RenderPipelineResources/CopyStencilBuffer.shader
-
23ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightDefinition.custom.hlsl
-
9ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightDefinition.custom.hlsl.meta
|
|||
#ifndef LIGHTDEFINITION_CUSTOM_HLSL |
|||
#define LIGHTDEFINITION_CUSTOM_HLSL |
|||
|
|||
//----------------------------------------------------------------------------- |
|||
// Packing accessors |
|||
//----------------------------------------------------------------------------- |
|||
|
|||
float3 EnvLightData_GetProxyForward(EnvLightData lightData) |
|||
{ |
|||
return float3(lightData.proxyForwardX, lightData.proxyForwardY, lightData.proxyForwardZ); |
|||
} |
|||
|
|||
float3 EnvLightData_GetProxyUp(EnvLightData lightData) |
|||
{ |
|||
return float3(lightData.proxyUpX, lightData.proxyUpY, lightData.proxyUpZ); |
|||
} |
|||
|
|||
float3 EnvLightData_GetProxyRight(EnvLightData lightData) |
|||
{ |
|||
return float3(lightData.proxyRightX, lightData.proxyRightY, lightData.proxyRightZ); |
|||
} |
|||
|
|||
#endif |
|
|||
fileFormatVersion: 2 |
|||
guid: 3ad8aff9e108a5e40b19c2c89fe7a448 |
|||
ShaderImporter: |
|||
externalObjects: {} |
|||
defaultTextures: [] |
|||
nonModifiableTextures: [] |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue