Commit graph

1,535 commits

Author SHA1 Message Date
victorfisac
2b5bdc0324 Fixed little bug 2017-07-15 16:44:56 +02:00
victorfisac
a999de7fd3 Improved ComputeMaterialProperty() function and added important note 2017-07-15 16:40:43 +02:00
victorfisac
15fa548d6b Added comment to SetMaterialTexture 2017-07-15 16:31:40 +02:00
victorfisac
242cb573ce Added useSampler assign in SetMaterialTexture and fixed model transform matrix data in shader 2017-07-15 16:30:07 +02:00
victorfisac
4a7c0618c6 Applied some changes of raysan5 2017-07-15 16:16:46 +02:00
victorfisac
80ae79b7d5 Applied some changes of raysan5 2017-07-15 16:15:35 +02:00
victorfisac
8f3c86d85e Fixed some comments 2017-07-15 16:11:26 +02:00
victorfisac
0994d9f6ce Removed unused define from skybox example 2017-07-15 16:10:16 +02:00
victorfisac
117e014ee6 Reset PBR shader features 2017-07-15 16:08:59 +02:00
victorfisac
df6bdb7d81 Fixed examples and added screenshots 2017-07-15 16:08:35 +02:00
victorfisac
f50b6dcbec Removed useless screenshot 2017-07-15 16:07:19 +02:00
Ray
85507bcfc3 Keep working on PBR...
Broken skybox sample!
2017-07-15 14:29:09 +02:00
Ray
dc45f43855 Keep working on PBR... 2017-07-15 11:57:28 +02:00
Ray
28679e3c79 Working on materials PBR...
Some issues with the shader (GPU dependant)
2017-07-14 01:16:22 +02:00
Ray
de80808dbe New example: models_material_pbr
Still in development...
2017-07-11 20:12:07 +02:00
Ray
231c12cc82 Reorganize functions 2017-07-11 20:11:39 +02:00
Ray
33b7b9465c Renamed two internal functions
LoadDefaultShader() -> LoadShaderDefault()
LoadCompressedTexture() -> LoadTextureCompressed()
2017-07-11 20:11:26 +02:00
Ray
f45d068675 Review cubemap uage on PBR 2017-07-11 10:56:19 +02:00
raysan5
1b7ff56b73 Removed LoadMaterialEnv() 2017-07-10 01:10:01 +02:00
raysan5
c041bb4f79 Improved examples 2017-07-10 01:09:25 +02:00
raysan5
450f0645ed Added skybox example 2017-07-09 19:25:51 +02:00
raysan5
963933dec4 Working on materials PBR support 2017-07-09 19:25:40 +02:00
raysan5
d1c1eacfc6 Added GenMeshCube() function
Indexed vertex data!
2017-07-09 19:25:12 +02:00
raysan5
7af110a95e Keep working on PBR materials support
Some functionality needs to be reviewed...
2017-07-09 13:52:27 +02:00
raysan5
236cba8efa Added mesh generation functions 2017-07-09 13:51:44 +02:00
Ray
847e7d56f0 Working on PBR support
Environment maps generation moved to rlgl
2017-07-09 02:48:54 +02:00
Ray
007cbf85b0 rlgl functions renaming
Keep working on PBR
2017-07-09 01:32:29 +02:00
Ray
a7c1850af1 New materials system example 2017-07-08 21:51:18 +02:00
Ray
783c187ea8 LoadMaterialEnv: Working on PBR materials support 2017-07-01 19:57:25 +02:00
Ray
9fdac1b7ae Adding support for PBR materials -IN PROGRESS-
Review models module (materials, mesh functionality)
2017-06-27 14:22:56 +02:00
Ray
32fc3608ea Redesigned shader/material system
This redesign is intended to add support for PBR materials
2017-06-27 00:44:22 +02:00
Ray
c46abd34d4 Merge pull request #305 from jubalh/mesondepv
Add version info to glfw dependency
2017-06-13 16:33:11 +02:00
Michael Vetter
03c4ed6b3f Add version info to glfw dependency
glfwSetWindowMonitor and some other functions are only available from 3.2
onwards.
2017-06-13 16:07:57 +02:00
Ray
8c1f32f2fe Additional check on file open 2017-06-12 14:21:50 +02:00
Ray
eee8393eb0 Merge pull request #303 from jubalh/mesongnu
Meson: use gnu99
2017-06-11 23:59:29 +02:00
Ray
5370fe18e0 Additional check for bool header definition 2017-06-11 23:58:46 +02:00
Michael Vetter
4fad1607ed Meson: use gnu99
We use variable init in for loops, so need c99.
2017-06-11 23:53:03 +02:00
Ray
4b1bc7f65e Merge pull request #301 from jubalh/time
Add define to have CLOCK_MONOTONIC work in c99
2017-06-11 16:22:53 +02:00
Michael Vetter
272073785f Add define to have CLOCK_MONOTONIC work in c99
If we compile with c99 without gnu extensions (gnu99) we need this
define, to have CLOCK_MONOTONIC and similar macros available
2017-06-11 11:20:30 +02:00
Ray
b6d7fa9bb0 Merge pull request #299 from jubalh/soversion
Add library versioning
2017-06-08 22:18:10 +02:00
Michael Vetter
1a61dc2c77 Meson: build library with so version
This should always be the number of the raylib release.
Especially when the new version is ABI incompatible the major version
should be bumped.
2017-06-08 17:03:25 +02:00
Ray
9dd3c03153 Merge pull request #297 from jubalh/meson
Initial meson support
2017-06-08 13:19:41 +02:00
raysan5
402a8bfd68 Added note about transposing 2017-06-05 18:53:53 +02:00
raysan5
43cb6414f6 Added note about transposing 2017-06-05 18:53:37 +02:00
Michael Vetter
567831a693 Allow static/dynamic library building with meson
Using the library() function instead of shared_library() allows changing
of the library type via the default_library option.
This allows for easy change between static and dynamic library building.

Use 'meson --default-library=static builddir' to build as static, if no builddir yet exists.
Use 'mesonconf -Ddefault_library=static builddir' to change the type for
an existing builddir.
2017-06-05 14:35:44 +02:00
Michael Vetter
9c524ee3a6 Add meson files for basic Linux building 2017-06-05 14:34:47 +02:00
Michael Campagnaro
1adc031301 Fix link in readme 2017-06-05 14:33:47 +02:00
Ray
99c7ca4f4a Merge pull request #296 from sir-pinecone/fix-readme-link
Fix link in readme
2017-05-31 12:21:41 +02:00
Michael Campagnaro
60f0d78170 Fix link in readme 2017-05-31 05:51:18 -04:00
Ray
a08cf1ce63 Merge pull request #295 from jubalh/cflags
Accept external CFLAGS
2017-05-29 20:47:03 +02:00