New documentation

This commit is contained in:
mklefrancois 2020-08-31 16:57:10 +02:00
parent e1dff2a4e7
commit 3465e08c77
31 changed files with 2825 additions and 55 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

View file

@ -28,8 +28,9 @@ void main()
if(mat.illum != 4)
return;
uint seed = prd.seed; // We don't want to modify the PRD
if(mat.dissolve == 0.0)
ignoreIntersectionEXT();
else if(rnd(prd.seed) > mat.dissolve)
else if(rnd(seed) > mat.dissolve)
ignoreIntersectionEXT();
}

View file

@ -24,8 +24,9 @@ void main()
if(mat.illum != 4)
return;
uint seed = prd.seed; // We don't want to modify the PRD
if(mat.dissolve == 0.0)
ignoreIntersectionEXT();
else if(rnd(prd.seed) > mat.dissolve)
else if(rnd(seed) > mat.dissolve)
ignoreIntersectionEXT();
}