Home
last modified time | relevance | path

Searched refs:lightingLookupTable (Results 1 – 2 of 2) sorted by relevance

/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_MaterialState.cpp115 ResLightingLookupTable lightingLookupTable; in ActivateFragmentLightingTable() local
120 lightingLookupTable = fragmentLightingTable.GetReflectanceRSampler(); in ActivateFragmentLightingTable()
121 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
123 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
125 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
128 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
129 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
136 lightingLookupTable = fragmentLightingTable.GetReflectanceGSampler(); in ActivateFragmentLightingTable()
137 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
139 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
[all …]
Dgfx_Material.cpp692 ResLightingLookupTableData* lightingLookupTable = in CopyResLightingLookupTable() local
695 lightingLookupTable->m_Input = resLightingLookupTable.GetInput(); in CopyResLightingLookupTable()
696 lightingLookupTable->m_Scale = resLightingLookupTable.GetScale(); in CopyResLightingLookupTable()
697 lightingLookupTable->toSampler.set_ptr(resLightingLookupTable.GetSampler().ptr()); in CopyResLightingLookupTable()
699 return ::std::make_pair(ResLightingLookupTable(lightingLookupTable), result); in CopyResLightingLookupTable()