Skip to content

Environment Map Lighting with seperate reflections. #218

Discussion options

You must be logged in to vote

Hi,

@ingowald might chime in here, but what I usually do with environment maps when using OWL is I evaluate them in the ray generation program directly. In the rtow-mixed-geometry sample the scatterEvent variable is returned inside prd and if I read the example correctly should be set to rayDidntHitAnything if the scattering loop exits without intersecting anything.

Note that in other projects we do a lot of processing in raygen, including things like BRDF evaluation that in the samples are implemented in closest_hit. I don't think this causes big performance hits, though I'm not sure. But definitely simplifies development a lot. In that case closest_hit becomes more or less a pass-throug…

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@georgemakrythanasis
Comment options

Answer selected by georgemakrythanasis
Comment options

You must be logged in to vote
1 reply
@ingowald
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@szellmann
Comment options

@szellmann
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants