Skip to content

Commit 3f85ee9

Browse files
committed
AMD_RPR_lights is now a GLTF node - Win and Mac builds
1 parent 403efc6 commit 3f85ee9

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed
Binary file not shown.
150 KB
Binary file not shown.

RadeonProRender/inc/ProRenderGLTF.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,6 @@ rprGLTF_GetParentGroupFromGroup("hand", 512, groupName, NULL);
133133
134134
if the shape/folder has not parent, the empty string is returned in groupName
135135
136-
rprGLTF_AssignLightToGroup only works if the light is exported as KHR_lights_punctual.
137-
Meaning that RPRGLTF_EXPORTFLAG_KHR_LIGHT must be used. and the light must be directional, point or spot.
138-
139136
these functions return RPR_SUCCESS if success
140137
*/
141138
extern int rprGLTF_AssignShapeToGroup(rpr_shape shape, const rpr_char* groupName);
@@ -145,6 +142,7 @@ extern int rprGLTF_AssignParentGroupToGroup(const rpr_char* groupChild, const rp
145142
extern int rprGLTF_SetTransformGroup(const rpr_char* groupChild, float* matrixComponents);
146143
extern int rprGLTF_GetParentGroupFromShape(rpr_shape shape, size_t size, rpr_char* groupName, size_t* size_ret);
147144
extern int rprGLTF_GetParentGroupFromCamera(rpr_camera camera, size_t size, rpr_char* groupName, size_t* size_ret);
145+
extern int rprGLTF_GetParentGroupFromLight(rpr_light light, size_t size, rpr_char* groupName, size_t* size_ret);
148146
extern int rprGLTF_GetParentGroupFromGroup(const rpr_char* groupChild, size_t size, rpr_char* groupName, size_t* size_ret);
149147

150148

286 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)