pspeed42
61cbf16ebc
Fixed the duplicate definition errors in normal.vert
...
...I left them commented out for reference and because
maybe this needs some rethinking.
2014-07-10 03:57:00 -04:00
Nehon
7356b727c3
Instancing now works with Lighting material, and shadows are supported with instanced geometries
2014-06-29 18:41:32 +02:00
shadowislord
406d244e01
* ToneMap.frag: Fix warning about gl_FragColor when compiling for GLSL 1.5 and higher
2014-06-03 23:09:01 -04:00
shadowislord
3838216207
* Added tone mapping filter that does not rely on average luminance (unlike HDRProcessor).
2014-05-30 23:54:56 -04:00
Nehon
9f45f78c86
Fixed GammaCorrectionFilter path to j3md and frag files
2014-05-26 12:16:16 +02:00
Nehon
8ff6f8df24
Introduced a new Enum ColorSpace.
...
One can now mark a texture param in a material definition as linear by using -Linear at the end of the parameter declaration (case insensitive).
An Image bound to a material texture param in a linear color space will have its ColorSpace set to linear when bound to the material by mat.setTexture("name", texture);
Added the -LINEAR flag to all texture param that needed it in stock materials (lighting.j3md, terrainLighting.j3md, different Filter materials).
2014-05-26 12:11:57 +02:00
Nehon
0967f39b83
- Fixed the GammaCorrectionFilter so it properly works with multisampling, will be used as a fall back to upcoming Gamma Correction implementation
...
- Removed luma
- Passed inverse gamma instead of gamma to avoid doing a division for each pixel in the shader
2014-05-26 12:11:54 +02:00
Nehon
1b3c2e4436
Fixed some compilations warning in the lightScattering shaders and a compilation error in the glsl 1.2 shader
2014-04-13 20:15:19 +02:00
Nehon
333c5c60cd
Fixed wrong swizzle in ssao.frag
2014-03-31 06:53:05 +02:00
Normen Hansen
a16857c8f4
switch to gradle layout
2014-03-21 02:32:11 +01:00