Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_MaterialState.cpp117 ResLightingLookupTable lightingLookupTable; in ActivateFragmentLightingTable() local
122 lightingLookupTable = fragmentLightingTable.GetReflectanceRSampler(); in ActivateFragmentLightingTable()
123 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
125 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
127 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
130 … GraphicsDevice::SetLutInput( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetInput() ); in ActivateFragmentLightingTable()
131 … GraphicsDevice::SetLutScale( GraphicsDevice::LUT_TARGET_RR, lightingLookupTable.GetScale() ); in ActivateFragmentLightingTable()
138 lightingLookupTable = fragmentLightingTable.GetReflectanceGSampler(); in ActivateFragmentLightingTable()
139 if (lightingLookupTable.IsValid() && isReflectionEnabled) in ActivateFragmentLightingTable()
141 NW_NULL_ASSERT(lightingLookupTable.GetSampler().IsValid()); in ActivateFragmentLightingTable()
[all …]
Dgfx_Material.cpp706 ResLightingLookupTableData* lightingLookupTable = in CopyResLightingLookupTable() local
714 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()