Skip to content

Commit

Permalink
Tweak eikonal correction value for low resolution SDF.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbigos committed Apr 9, 2022
1 parent 249df7d commit d967e82
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Includes/SDF.cginc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ float calcEikonalCorrection(float3 dir)
float eikonalFix = min(nDir.x, min(nDir.y, nDir.z));
float l = 0.70711f;
eikonalFix = remap(0.70711, 1.0, eikonalFix);
eikonalFix = lerp(0.99, 1.0, eikonalFix);
eikonalFix = lerp(0.98, 1.0, eikonalFix);
return eikonalFix;
}

Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/RiderScriptEditorPersistedState.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ MonoBehaviour:
m_Script: {fileID: 0}
m_Name:
m_EditorClassIdentifier: Unity.Rider.Editor:Packages.Rider.Editor:RiderScriptEditorPersistedState
lastWriteTicks: -8585521062449428561
lastWriteTicks: -8585520624873427468
Binary file added promo/banner2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d967e82

Please sign in to comment.