Skip to content
Snippets Groups Projects
Commit 176eab68 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

Started slider selection, hopefully fixed TIR

parent a40d02f4
Branches
No related tags found
No related merge requests found
File added
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -162,7 +162,7 @@ void UOptiXLaserComponent::UpdateOptiXContextVariables() ...@@ -162,7 +162,7 @@ void UOptiXLaserComponent::UpdateOptiXContextVariables()
if (bUpdateQueued) if (bUpdateQueued)
{ {
OptiXContext->SetInt("allowTIR", RayTIR); OptiXContext->SetInt("allowTir", RayTIR);
OptiXContext->SetInt("targetBufferWrite", static_cast<int32>(TargetBufferWrite)); OptiXContext->SetInt("targetBufferWrite", static_cast<int32>(TargetBufferWrite));
OptiXContext->SetFloat("laserWaveLength", Wavelength); OptiXContext->SetFloat("laserWaveLength", Wavelength);
...@@ -314,7 +314,7 @@ void UOptiXLaserComponent::Init() ...@@ -314,7 +314,7 @@ void UOptiXLaserComponent::Init()
SetWavelength(Wavelength); SetWavelength(Wavelength);
SetLaserWidth(LaserWidth); SetLaserWidth(LaserWidth);
OptiXContext->SetInt("allowTIR", RayTIR); OptiXContext->SetInt("allowTir", RayTIR);
OptiXContext->SetInt("targetBufferWrite", static_cast<int>(TargetBufferWrite)); OptiXContext->SetInt("targetBufferWrite", static_cast<int>(TargetBufferWrite));
OptiXContext->SetFloat("laserWaveLength", Wavelength); OptiXContext->SetFloat("laserWaveLength", Wavelength);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment