-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I'm using RadeonProRender.jl in Julia, and can't get emission working on a curve object. I'm not sure if it's a bug in the Julia implementation, a limitation of the SDK, or something else. I can't post a minimal example because this is all WIP Julia code, but here's an image showing the result:
This is a line segment primitive which the RPRMakie package transforms into RPR Curves, roughly like this:
curve = RPR.Curve(context, points, indices, radius, Vec2f.(0.0, LinRange(0, 1, nsegments)),
fill(1, nsegments))
material = RPR.UberMaterial(matsys)
material.emission_color = to_color(:red) # should create red light?
material.emission_weight = 1000 # I tried to make it really strong as well, no effect visible
# I tried to set the double-sided mode to true or false in case the curves had inward normals for some reason
# material.emission_mode = false
set!(curve, material.node)Metadata
Metadata
Assignees
Labels
No labels
