forked from blender/blender
Fix DomeLight warning in console for Storm delegate. #55
No reviewers
Labels
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#55
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-432"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Storm delegate produces warning if not texture in DomeLight:
Warning: in _GetResolvedDomeLightEnvironmentFilePath at line 320 of C:\db\build\S\VS1564R\build\usd\src\external_usd\pxr\imaging\hdSt\simpleLightingShader.cpp -- Dome light has no texture asset path.
Technical steps
Implemented cache_image_color() to image.cc.
Added pxr::HdLightTokens->textureFile to WorldData with colored texture if only color is available.