CPlayerShader.cpp 9.0 KB

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