Commit Graph
25 Commits
Author SHA1 Message Date
grisenti 5e300864a3 HPL1: remove unused vColor shader input/output 2022-12-23 14:04:03 +01:00
grisenti 18d97d1053 HPL1: remove commented out code in shader 2022-12-23 14:04:03 +01:00
grisenti 95791efb81 HPL1: rename shaders 2022-12-23 14:04:02 +01:00
grisenti 757ed9b608 HPL1: implement Material_EnvMap_Reflect class 2022-12-23 14:04:00 +01:00
grisenti c010a76731 HPL1: fix use of input parametrs in shader code 2022-12-23 14:04:00 +01:00
grisenti 7fd63e902b HPL1: fix material water and implement water shaders 2022-12-23 14:03:57 +01:00
grisenti e01139bbfc HPL1: enable class used for low graphics setting 2022-12-23 14:03:51 +01:00
grisenti daa34d1ffb HPL1: fix fallback01 shader 2022-12-23 14:03:51 +01:00
grisenti 729522a764 HPL1: fix file name comment in shader code 2022-12-23 14:03:50 +01:00
grisenti e5a768fa5a HPL1: fix shader 2022-12-23 14:03:50 +01:00
grisenti 00cfff4496 HPL1: fix and add fallback01 shaders 2022-12-23 14:03:50 +01:00
grisenti 775f18cfc1 HPL1: fix fog shaders
the engine used GL_LUMINANCE and GL_LUMINANCE_ALPHA
this has been changed to GL_R and GL_RG
2022-12-23 14:03:48 +01:00
grisenti 6765ad7b76 HPL1: fix color output in vertex shader
The out variables that were specified as COLOR were implicitly clamped.
2022-12-23 14:03:48 +01:00
grisenti 22186b423b HPL1: cleanup shader code 2022-12-23 14:03:48 +01:00
grisenti 1b75f03005 HPL1: correct types in fragment shaders
This matches what is used in the game's shaders
2022-12-23 14:03:48 +01:00
grisenti fe7ca96161 HPL1: fix TBN matrix in shaders
The CG matrix constructor used vectors as rows while opengl uses them as columns
2022-12-23 14:03:47 +01:00
grisenti cdd329a915 HPL1: fix shader 2022-12-23 14:03:42 +01:00
grisenti d3cb9949bf HPL1: fix textures in shaders 2022-12-23 14:03:42 +01:00
grisenti b63ed0b537 HPL1: fix replacement for tex2Dproj 2022-12-23 14:03:42 +01:00
grisenti c7c923d21e HPL1: fix wrong texture units 2022-12-23 14:03:42 +01:00
grisenti bf97e541c7 HPL1: fix diffuse light shader 2022-12-23 14:03:42 +01:00
Paweł Kołodziejski b3804858e1 HPL1: Fixed typo in shader vLightDir vs vLighDir 2022-12-23 14:03:42 +01:00
grisenti 7488c38644 HPL1: fix texture coordinate inputs in shaders 2022-12-23 14:03:41 +01:00
grisenti ff521fce43 HPL1: fix shader code 2022-12-23 14:03:41 +01:00
grisenti cdfd9643d6 HPL1: move and fix game shaders 2022-12-23 14:03:41 +01:00