CPlayerShader.cpp 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. #include "CPlayerShader.h"
  2. #include "CFTTMaterialManager.h"
  3. #include "shader_data/CPlayerShader_Setup.h"
  4. CPlayerShader CPlayerShader::s_tInstance;
  5. //-------------------------------------------------------------------------------------------------
  6. //001D0114 //^_^
  7. CPlayerShader::CPlayerShader() : CFTTUberShader(&CPlayerShaderSetup_3263A0) {
  8. }
  9. //-------------------------------------------------------------------------------------------------
  10. //001D0120 //^_^
  11. CPlayerShader::~CPlayerShader() {
  12. }
  13. //-------------------------------------------------------------------------------------------------
  14. //0011F980 //^_^
  15. void CPlayerShader::SetBin(EPlayerShader_Bin eBin, int a2) {
  16. }
  17. //-------------------------------------------------------------------------------------------------
  18. //0011F990 //^_^
  19. void CPlayerShader::SetDiffuse(CFTTTexParam aTexParam, int a2) {
  20. }
  21. //-------------------------------------------------------------------------------------------------
  22. //0011F9A8 //^_^
  23. void CPlayerShader::SetSpecular(CFTTTexParam aTexParam, int a2) {
  24. }
  25. //-------------------------------------------------------------------------------------------------
  26. //0011F9C0 //^_^
  27. void CPlayerShader::SetNormal(CFTTTexParam aTexParam, int a2) {
  28. }
  29. //-------------------------------------------------------------------------------------------------
  30. //0011F9D8 //^_^
  31. void CPlayerShader::SetAmbient(CFTTTexParam aTexParam, int a2) {
  32. }
  33. //-------------------------------------------------------------------------------------------------
  34. //0011F9F0 //^_^
  35. void CPlayerShader::SetDiffRimLightLUT(CFTTTexParam aTexParam, int a2) {
  36. }
  37. //-------------------------------------------------------------------------------------------------
  38. //0011FA08 //^_^
  39. void CPlayerShader::SetSpecLightLUT(CFTTTexParam aTexParam, int a2) {
  40. }
  41. //-------------------------------------------------------------------------------------------------
  42. //0011FA20 //^_^
  43. void CPlayerShader::SetSpecularEnv(CFTTTexParam aTexParam, int a2) {
  44. }
  45. //-------------------------------------------------------------------------------------------------
  46. //0011FDBC //^_^
  47. void CPlayerShader::SetModel(EPlayerShader_Model eModel) {
  48. LOGE("%x",this);
  49. LOGE("%x",eModel);
  50. }
  51. //-------------------------------------------------------------------------------------------------
  52. //0011FDCE //^_^
  53. void CPlayerShader::SetShadowMap(EPlayerShader_ShadowMap eShadowMap) {
  54. LOGE("%x",this);
  55. LOGE("%x",eShadowMap);
  56. }
  57. //-------------------------------------------------------------------------------------------------
  58. //0011FDE0 //^_^
  59. void CPlayerShader::SetLightDir(CFTTVector32 const& pVector32) {
  60. }
  61. //-------------------------------------------------------------------------------------------------
  62. //0011FDEC //^_^
  63. void CPlayerShader::SetBlendMode(EPlayerShader_BlendMode eBlendMode) {
  64. LOGE("%x",this);
  65. LOGE("%x",eBlendMode);
  66. }
  67. //-------------------------------------------------------------------------------------------------
  68. //001265B4 //^_^
  69. void CPlayerShader::SetCinematic(EPlayerShader_Cinematic eCinematic) {
  70. LOGE("%x",this);
  71. LOGE("%x",eCinematic);
  72. }
  73. //-------------------------------------------------------------------------------------------------
  74. //001265C6 //^_^
  75. void CPlayerShader::SetCinematicLightingCloth(CFTTVector32x4 const& pVector32x4) {
  76. LOGE("%x",this);
  77. LOGE("%x",&pVector32x4);
  78. LOGE("%x%x%x%x",pVector32x4.my[0],pVector32x4.my[1],pVector32x4.my[2],pVector32x4.my[3]);
  79. }
  80. //-------------------------------------------------------------------------------------------------
  81. //001265D2 //^_^
  82. void CPlayerShader::SetCinematicLightingSkin(CFTTVector32x4 const& pVector32x4) {
  83. LOGE("%x",this);
  84. LOGE("%x%x%x%x",pVector32x4.my[0],pVector32x4.my[1],pVector32x4.my[2],pVector32x4.my[3]);
  85. }
  86. //-------------------------------------------------------------------------------------------------
  87. //001265DE //^_^
  88. void CPlayerShader::SetQuality(EPlayerShader_Quality eQuality) {
  89. LOGE("%x",this);
  90. LOGE("%x",eQuality);
  91. }
  92. //-------------------------------------------------------------------------------------------------
  93. //0017F508 //^_^
  94. void CPlayerShader::SetColourMulti1(CFTTVector32 const& pVector32, int a2) {
  95. }
  96. //-------------------------------------------------------------------------------------------------
  97. //0017F512 //^_^
  98. void CPlayerShader::SetColourMulti2(CFTTVector32 const& pVector32, int a2) {
  99. }
  100. //-------------------------------------------------------------------------------------------------
  101. //0017F51C //^_^
  102. void CPlayerShader::SetColourMulti3(CFTTVector32 const& pVector32, int a2) {
  103. }
  104. //-------------------------------------------------------------------------------------------------
  105. //0017F526 //^_^
  106. void CPlayerShader::SetColourMulti4(CFTTVector32 const& pVector32, int a2) {
  107. }
  108. //-------------------------------------------------------------------------------------------------
  109. //00180808 //^_^
  110. void CPlayerShader::SetShadowMapTex(CFTTTexParam aTexParam) {
  111. }
  112. //-------------------------------------------------------------------------------------------------
  113. //0018081C //^_^
  114. void CPlayerShader::SetFloatingPoint(EPlayerShader_FloatingPoint eFloatingPoint) {
  115. }
  116. //-------------------------------------------------------------------------------------------------
  117. //0018082E //^_^
  118. void CPlayerShader::SetDiffuseEnv(CFTTTexParam aTexParam) {
  119. }
  120. //-------------------------------------------------------------------------------------------------
  121. //00180842 //^_^
  122. void CPlayerShader::SetBRDFLUT(CFTTTexParam aTexParam) {
  123. }
  124. //-------------------------------------------------------------------------------------------------
  125. //00180856 //^_^
  126. void CPlayerShader::SetPBR(CFTTVector32x4 const& pVector32x4, int a2) {
  127. }
  128. //-------------------------------------------------------------------------------------------------
  129. //00186CF4 //^_^
  130. void CPlayerShader::SetAtlasCount(float const* pf) {
  131. }
  132. //-------------------------------------------------------------------------------------------------
  133. //00186D00 //^_^
  134. void CPlayerShader::SetShadowMapProj01(CFTTMatrix32 const& pMatrix32) {
  135. }
  136. //-------------------------------------------------------------------------------------------------
  137. //00186D0C //^_^
  138. void CPlayerShader::SetShadowMapProj02(CFTTMatrix32 const& pMatrix32) {
  139. }
  140. //-------------------------------------------------------------------------------------------------
  141. //00186D18 //^_^
  142. void CPlayerShader::SetShadowMapProj03(CFTTMatrix32 const& pMatrix32) {
  143. }
  144. //-------------------------------------------------------------------------------------------------
  145. //00186D24 //^_^
  146. void CPlayerShader::SetShadowMapProj04(CFTTMatrix32 const& pMatrix32) {
  147. }
  148. //-------------------------------------------------------------------------------------------------
  149. //00186D30 //^_^
  150. void CPlayerShader::SetShadowMapSplit(CFTTVector32 const& pMatrix32) {
  151. }
  152. //-------------------------------------------------------------------------------------------------
  153. //00186D3C //^_^
  154. void CPlayerShader::SetViewParams(float const* pf) {
  155. }
  156. //-------------------------------------------------------------------------------------------------
  157. //001D0124 //^_^
  158. ushort CPlayerShader::CreateMat(EPlayerShader_Bin eBin,
  159. CFTTVector32x4 const& pVector32x4,
  160. CFTTTexParam aTexParam1,
  161. CFTTTexParam aTexParam2,
  162. CFTTTexParam aTexParam3,
  163. CFTTTexParam aTexParam4,
  164. CFTTTexParam aTexParam5,
  165. CFTTTexParam aTexParam6,
  166. CFTTTexParam aTexParam7,
  167. CFTTVector32 const& pVector32_1,
  168. CFTTVector32 const& pVector32_2,
  169. CFTTVector32 const& pVector32_3,
  170. CFTTVector32 const& pVector32_4,
  171. EPlayerShader_CullMode eCullMode) {
  172. //LOGI("CPlayerShader::CreateMat entry %p", FTT_pMtlL);
  173. return 0;
  174. }