New documentation
This commit is contained in:
parent
e1dff2a4e7
commit
3465e08c77
31 changed files with 2825 additions and 55 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue