升级水插件
This commit is contained in:
@@ -9,15 +9,10 @@
|
||||
#include "Packages/com.waveharmonic.crest/Runtime/Shaders/Library/Constants.hlsl"
|
||||
#include "Packages/com.waveharmonic.crest/Runtime/Shaders/Library/Macros.hlsl"
|
||||
|
||||
CBUFFER_START(CrestChunkInstanceData)
|
||||
uint _Crest_LodIndex;
|
||||
float _Crest_ChunkMeshScaleAlpha;
|
||||
float _Crest_ChunkMeshScaleAlphaSource;
|
||||
float _Crest_ChunkGeometryGridWidth;
|
||||
float _Crest_ChunkGeometryGridWidthSource;
|
||||
float _Crest_ChunkFarNormalsWeight;
|
||||
float2 _Crest_ChunkNormalScrollSpeed;
|
||||
CBUFFER_END
|
||||
// NOTE: Unity does not recognize uint in FrameDebugger. It will be under Floats
|
||||
// with incorrect values. Change to int for debugging.
|
||||
uint _Crest_LodIndex;
|
||||
|
||||
|
||||
Texture2DArray g_Crest_CascadeAbsorption;
|
||||
m_DisplacementTexture(Texture2DArray, 4) g_Crest_CascadeAnimatedWaves;
|
||||
|
||||
Reference in New Issue
Block a user