Home
last modified time | relevance | path

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

/NW4C-1.3.3/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.cpp704 ResLightingLookupTableData* lightingLookupTable = in CopyResLightingLookupTable() local
712 allocator->Free(lightingLookupTable); in CopyResLightingLookupTable()
729 lightingLookupTable->m_Input = resLightingLookupTable.GetInput(); in CopyResLightingLookupTable()
730 lightingLookupTable->m_Scale = resLightingLookupTable.GetScale(); in CopyResLightingLookupTable()
731 lightingLookupTable->toSampler.set_ptr(referenceLookupTable); in CopyResLightingLookupTable()
733 return ::std::make_pair(ResLightingLookupTable(lightingLookupTable), result); in CopyResLightingLookupTable()