Skip to content

Commit defa3f7

Browse files
authored
Update readme to include new material maps
1 parent e11e45c commit defa3f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ Most objects take a material property with these sub-props:
244244

245245
| Prop | Type | Description |
246246
|---|---|---|
247-
| `diffuse` | colorstring | diffuse color |
247+
| `diffuse` | { `path`, `color`, `intensity` } | [diffuse](https://developer.apple.com/documentation/scenekit/scnmaterial/1462589-diffuse?language=objc)
248+
| `specular` | { `path`, `color`, `intensity` } | [specular](https://developer.apple.com/documentation/scenekit/scnmaterial/1462516-specular?language=objc)
249+
| `displacement` | { `path`, `color`, `intensity` } | [displacement](https://developer.apple.com/documentation/scenekit/scnmaterial/2867516-displacement?language=objc)
250+
| `normal` | { `path`, `color`, `intensity` } | [normal](https://developer.apple.com/documentation/scenekit/scnmaterial/1462542-normal)
248251
| `metalness` | number | metalness of the object |
249252
| `roughness` | number | roughness of the object |
250253
| `doubleSided` | boolean | render both sides, default is `true` |

0 commit comments

Comments
 (0)