Files
Fishing2/Assets/Obi/Resources/Compute/SolverParameters.cginc
2025-11-10 00:08:26 +08:00

23 lines
476 B
HLSL

#ifndef SOLVERPARAMS_INCLUDE
#define SOLVERPARAMS_INCLUDE
int mode;
int interpolation;
float3 gravity;
float damping;
float worldLinearInertiaScale;
float worldAngularInertiaScale;
float maxAnisotropy;
float sleepThreshold;
float maxVelocity;
float maxAngularVelocity;
float collisionMargin;
float maxDepenetration;
float colliderCCD;
float particleCCD;
float shockPropagation;
int surfaceCollisionIterations;
float surfaceCollisionTolerance;
float4 diffusionMask;
#endif