zzuegg
a8b3407b46
Removed empty lines
10 years ago
zzuegg
1e0468bdbe
Removed empty lines
10 years ago
zzuegg
8cb2be60fe
Added a switch to use VECTORS on GLES and COMPONENTS/4 on Desktop
10 years ago
zzuegg
4cd0c5bffb
Added MAX_VERTEX_UNIFORM_VECTORS constant
...
//untested however
10 years ago
zzuegg
43dc7345d0
Changed to VertexUniformVectors
10 years ago
Kirill Vainer
b8fe36ed76
glsllib with macros to convert glsl 1.1 shaders to 1.5
10 years ago
Riccardo Balbo
7fa735fdb1
Remove root slash from the asset path
10 years ago
Kirill Vainer
e2d8fe8293
GLRenderer: support luminance / alpha textures in core profile
10 years ago
zzuegg
14e4f2bfb3
Added: GL_MAX_VERTEX_UNIFORM_COMPONENTS
10 years ago
zzuegg
46e4c21c2c
Added: GL_MAX_VERTEX_UNIFORM_COMPONENTS
10 years ago
zzuegg
afc8f3f1cd
Fixed SpotLight default inititalisation for invSpotRange
10 years ago
Nehon
14c5304f27
Fixed defines tests in multisample.glsllib so that one can have a single sampled beck buffer and a multisampled depth buffer without having the shader to crash.
...
Also optimized the way glsl 150 texture vs texture2D is handled
10 years ago
Nehon
04f6b01d2e
Reverted commit 3f3ef99b86
...
as it was not valid and introducing another issue.
10 years ago
Kirill Vainer
5002413e51
GLRenderer: fix wrap / filter modes
...
* They were not configured properly due to an old workaround
10 years ago
Kirill Vainer
0dc77b4d6e
GLRenderer: remove commented out limits
10 years ago
Kirill Vainer
31fc1d9ac6
GLRenderer: fix srgb warning logging
...
Only complain about missing sRGB support if the user wants to enable it, not disable it.
10 years ago
Nehon
3f3ef99b86
Fixed an issue where AA was not taken into account when using SSAO filter
10 years ago
Kirill Vainer
554cfb8fab
GLRenderer: remove GL_APPLE_limited_npot
...
That extension doesn't indicate NPOT support, just limited support same as on the level OpenGL ES 2.0.
10 years ago
Kirill Vainer
f74ae990d4
Shadows: make sure to clear all buffers
10 years ago
Nehon
91cf9e645c
BatchNode safe catch of a crash when the batch node geoms don't have the same buffer types.
...
Added a utility method in GeometryBatchFactory to align the buffers of the subgraph.
10 years ago
Kirill Vainer
f8dd2542b1
AudioNode: disable reverb by default
10 years ago
Kirill Vainer
b5d8fc2505
AbstractBox: make mesh static by default
10 years ago
Kirill Vainer
7057f9a1b7
SkeletonControl: enable HW skinning by default
10 years ago
Kirill Vainer
0eb8cbfc6c
StatsView: fix darken effect due to earlier change
10 years ago
Kirill Vainer
0178029782
Example to show character model cloning / export
10 years ago
Kirill Vainer
b4baaadc79
JmeExporter: remove useless return
10 years ago
Kirill Vainer
17bf0f8ab3
SkeletonControl: fix #207
10 years ago
Kirill Vainer
6760771b20
SPLighting: vertex lighting fixes
...
- remove useless varyings
- fix alpha from diffuse color
10 years ago
Kirill Vainer
886bbc08b0
MipMapGenerator: perform scaling in sRGB
...
- Incorrect, but faster. In most cases where it is used, gamma correct pipeline isn't used and performance is of higher priority than quality.
10 years ago
Kirill Vainer
a43a405ca1
StatsView: render as single object
10 years ago
Kirill Vainer
ed61979825
GLRenderer: resize images to POT if needed
...
E.g. when using NPOT textures on iOS with mipmapping.
10 years ago
Kirill Vainer
4aa32cd016
MipMapGen: resize to nearest power of 2 in both dimensions
...
Before it was selecting the largest dimension, but OpenGL does not have such requirement.
10 years ago
Kirill Vainer
682b1f5b58
MipMapGenerator: add generator that uses raster
...
The one that uses AWT will be deprecated soon
10 years ago
Kirill Vainer
f2e0a15edb
AssetConfig: remove duplicates from Desktop.cfg
10 years ago
Kirill Vainer
02c997b165
Image: remove efficient state field
10 years ago
Kirill Vainer
e29988e30c
Image: fix cloning for last texture state
10 years ago
Kirill Vainer
1f0c83ae7d
ColorRGBA: getAsSrgb() to return ColorRGBA
10 years ago
Kirill Vainer
0a0fdca0b4
ImageRaster: add mipmap access & gamma correction
...
* Remove deprecated image raster methods from JmeSystem
* Allow ImageRaster to read / write to arbitrary mipmaps
* Allow ImageRaster to perform conversion to / from linear color space as required
10 years ago
Kirill Vainer
7393f79165
AudioSource: add method to get playback time
...
As was requested on the forum, getting playback time / position is needed to perform proper audio / video synchronization.
10 years ago
Kirill Vainer
ab7a45f66c
GLRenderer: forget an end parenthesis
10 years ago
Kirill Vainer
ba3e6917c6
GLRenderer: fix modern extension retrieval method
...
GL_NUM_EXTENSIONS and glGetStringi is only available in OpenGL3.0+. The gl3 != null check will always be true for LWJGL backend.
10 years ago
Kirill Vainer
1fec72605f
SPLighting.frag: fix syntax error with vertex lighting enabled
10 years ago
Kirill Vainer
0c846eaf6a
SPLighting: fix syntax errors with vertex lighting + color ramp
10 years ago
Kirill Vainer
0a3e9a434e
Image: treat setMipMapSizes as a request to generate mips
10 years ago
Kirill Vainer
10cde0a4b2
DXTFlipper: fix incorrect flipping of DXT5 images of size 2x2
...
For DXT1/3 images, the format for color and alpha blocks is the same,
so the bug would not appear. For DXT5 images, the alpha block is formatted
differently. The issue is that it flips the color block and then the alpha
block for 2x2 images, but the correct order is alpha block then color block.
10 years ago
Kirill Vainer
aba48495e1
J3MLoader: enforce MaterialKey requirements based on extension
10 years ago
Kirill Vainer
ed4b70bcad
GLTiming: new GL wrapper to profile GL calls
10 years ago
Kirill Vainer
a6c71c4f50
Fix missing glPatchParameter and another syntax error
10 years ago
Kirill Vainer
5b95f8a4b0
GLRenderer: Improve compatibility with OpenGL 3.2 core profile
...
* Separate GLFbo and GLExt implementations. GLFbo can now be implemented either via vanilla OpenGL3 calls or GL_EXT_framebuffer_*** extensions (OpenGL2.1- only).
* Use modern way of getting supported extensions in core profile.
* Luminance and Alpha formats are not available when running in core profile.
* Bind a dummy vertex array object (VAO) when running in core profile.
* Point sprite mode is always enabled. Since both OpenGL ES 2.0 and OpenGL 3.2 core require it, jME3 is no longer capable of rendering regular points.
10 years ago
Kirill Vainer
73f53931f0
Image: fix mipmap generation flags not properly being updated
10 years ago