mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 18:19:17 +00:00
Additional CPlayer implementations
This commit is contained in:
@@ -12,7 +12,7 @@ u16 CFluidPlaneShader::Cache::MakeCacheKey(const SFluidPlaneShaderInfo& info)
|
||||
switch (info.m_type)
|
||||
{
|
||||
case CFluidPlane::EFluidType::NormalWater:
|
||||
case CFluidPlane::EFluidType::Three:
|
||||
case CFluidPlane::EFluidType::PhazonFluid:
|
||||
case CFluidPlane::EFluidType::Four:
|
||||
if (info.m_hasLightmap)
|
||||
{
|
||||
@@ -52,7 +52,7 @@ u16 CFluidPlaneShader::Cache::MakeCacheKey(const SFluidPlaneShaderInfo& info)
|
||||
|
||||
break;
|
||||
|
||||
case CFluidPlane::EFluidType::Five:
|
||||
case CFluidPlane::EFluidType::ThickLava:
|
||||
ret |= 3;
|
||||
|
||||
if (info.m_hasBumpMap)
|
||||
|
||||
@@ -207,7 +207,7 @@ static void _BuildShader(std::string& finalVS, std::string& finalFS, int& nextTe
|
||||
switch (info.m_type)
|
||||
{
|
||||
case CFluidPlane::EFluidType::NormalWater:
|
||||
case CFluidPlane::EFluidType::Three:
|
||||
case CFluidPlane::EFluidType::PhazonFluid:
|
||||
case CFluidPlane::EFluidType::Four:
|
||||
if (info.m_hasLightmap)
|
||||
{
|
||||
@@ -415,7 +415,7 @@ static void _BuildShader(std::string& finalVS, std::string& finalFS, int& nextTe
|
||||
|
||||
break;
|
||||
|
||||
case CFluidPlane::EFluidType::Five:
|
||||
case CFluidPlane::EFluidType::ThickLava:
|
||||
// 0: Tex0TCG, Tex0, GX_COLOR0A0
|
||||
// ZERO, TEX, KONST, RAS
|
||||
// Output reg prev
|
||||
|
||||
@@ -211,7 +211,7 @@ CFluidPlaneShader::BuildShader(boo::MetalDataFactory::Context& ctx, const SFluid
|
||||
switch (info.m_type)
|
||||
{
|
||||
case CFluidPlane::EFluidType::NormalWater:
|
||||
case CFluidPlane::EFluidType::Three:
|
||||
case CFluidPlane::EFluidType::PhazonFluid:
|
||||
case CFluidPlane::EFluidType::Four:
|
||||
if (info.m_hasLightmap)
|
||||
{
|
||||
@@ -419,7 +419,7 @@ CFluidPlaneShader::BuildShader(boo::MetalDataFactory::Context& ctx, const SFluid
|
||||
|
||||
break;
|
||||
|
||||
case CFluidPlane::EFluidType::Five:
|
||||
case CFluidPlane::EFluidType::ThickLava:
|
||||
// 0: Tex0TCG, Tex0, GX_COLOR0A0
|
||||
// ZERO, TEX, KONST, RAS
|
||||
// Output reg prev
|
||||
|
||||
Reference in New Issue
Block a user