Ray
caa7bc366b
Reviewed DrawLight() function and some tweaks
2016-05-31 00:51:55 +02:00
Joshua Reisenauer
6ad8323860
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-30 15:39:21 -07:00
Joshua Reisenauer
9f2fc81df2
update to openal
2016-05-30 15:34:29 -07:00
Ray
8a4e28f81d
Support Android internal data storage
...
Useful to save small data files (configuration and so)
For bigger files, external data storage should be used (SDCard)
2016-05-31 00:01:19 +02:00
Ray
4b93349db5
Merge pull request #122 from victorfisac/develop
...
Standard Lighting (3/3)
2016-05-30 23:25:18 +02:00
victorfisac
11cf455fe0
Standard Lighting (3/3)
...
- Added normal and specular maps to standard shader.
- Added full tint attribute to standard shader and material data type.
- Changed point light attenuation to radius.
2016-05-30 19:59:21 +02:00
victorfisac
b0a0c5d431
Added tint color attribute to material data type
...
It tints all fragments, ignores lighting. Useful for some features like
feedback (damage color, ...).
2016-05-30 19:55:13 +02:00
victorfisac
f2d61d4043
Remove normal depth
...
Scaling normal depth (y axis) makes disappear the specular of
fragments... So I think it can be removed, it is not a very
useful/important attribute.
2016-05-30 19:43:35 +02:00
victorfisac
0ff26f527f
Added normal and specular maps logic to standard...
...
...shader and updated example.
2016-05-30 19:26:17 +02:00
victorfisac
5c32cf2095
Add 'dwarf' model normal and specular maps to resources folder
2016-05-30 19:19:15 +02:00
victorfisac
64f6c74c9a
Add normal and specular maps to draw model process
2016-05-30 19:18:55 +02:00
victorfisac
2e26ce235d
Add Draw3DCircle function and update raylib and rlgl header
...
Draw3DCircle is useful to draw point lights radius.
2016-05-30 19:18:11 +02:00
victorfisac
ae2d0d4cd8
Delete old example mesh resource file
2016-05-29 22:41:23 +02:00
victorfisac
26833f5aae
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-29 22:24:01 +02:00
raysan5
ea5b00528b
Improved render to texture
...
Support render texture size different than screen size
2016-05-29 11:49:13 +02:00
Joshua Reisenauer
e4e315bbfc
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-29 01:09:29 -07:00
Ray
27df983ee0
Merge pull request #121 from kd7tck/develop
...
I made this for some others I am now working with
2016-05-27 19:55:41 +02:00
Joshua Reisenauer
5a041a6af5
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-25 11:26:31 -07:00
raysan5
3d6696f6c9
Renamed shader variables (more generic names)
2016-05-25 16:21:13 +02:00
raysan5
d53b6f4381
Renamed shader variables (more generic names)
...
Now shader maps use a generic naming convention for any kind of texture
maps (not only diffuse, normal or specular). Useful for custom shaders.
2016-05-25 16:19:57 +02:00
raysan5
48374c85dd
Some tweaks
...
It seems there are some problems with DrawLights()
2016-05-23 11:25:04 +02:00
Joshua Reisenauer
f74791ed7b
better build system
2016-05-23 02:12:22 -07:00
Joshua Reisenauer
f232f34981
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-22 15:03:10 -07:00
Ray
9811a37690
Merge pull request #120 from victorfisac/develop
...
Standard Lighting (2/3)
2016-05-21 20:11:23 +02:00
victorfisac
dcd6942ed1
Fix small bug and spacing
2016-05-21 18:22:15 +02:00
victorfisac
c320a21f2b
Add standard lighting (2/3)
...
- 3 light types added (point, directional, spot).
- DrawLights() function added using line shapes.
- Standard lighting example added.
- Removed useless struct variables from material and light.
- Fixed light attributes dynamic locations errors.
- Standard vertex and fragment shaders temporally added until rewrite it
as char pointers in rlgl.
TODO:
- Add normal and specular maps calculations in standard shader.
- Add control structs to handle which attributes needs to be calculated
(textures, specular...).
- Adapt standard shader to version 110.
- Rewrite standard shader as char pointers in rlgl.
2016-05-21 18:16:39 +02:00
victorfisac
80eb4f3f50
Remove deprecated phong lighting shaders and example
2016-05-21 18:11:25 +02:00
victorfisac
30941c0dd1
Add Draw3DLine function and fixed MLT glossiness import value
...
In standard shader, material glossiness is a value from 0 to 1000 like
in MLT files. So, it doesn't need to be normalized.
2016-05-21 18:10:06 +02:00
victorfisac
cf71e1242e
Fix some audio module compile warnings
2016-05-21 18:08:09 +02:00
victorfisac
0da7c499b6
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-21 18:06:36 +02:00
Ray
0b65b44a78
Merge pull request #119 from gordonmcshane/remove-local-properties
...
remove user-specific ant files
2016-05-21 11:14:23 +02:00
Ray
46e7a26770
Merge pull request #118 from gordonmcshane/gamepad-example-fix
...
fix example
2016-05-21 11:13:42 +02:00
Gordon McShane
c9ac176fa7
remove user-specific ant files
2016-05-20 11:27:18 -07:00
Gordon McShane
c0983f3400
fix example
...
- fix gamepad axis query in example broken by db4585b
Improved gamepad support
2016-05-20 11:03:44 -07:00
victorfisac
30c8058fca
Add standard lighting (1/3)
...
- Ambient and lambert lighting added.
- Ambient and diffuse colors linked to standard shader.
- Single light linked to standard shader.
- LoadStandardMaterial() and depending functions added.
2016-05-20 17:18:07 +02:00
victorfisac
c60cc9ee18
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-20 15:05:12 +02:00
raysan5
6dac1efefe
Comented buggy code to avoid problems...
...
...on model drawing
2016-05-20 15:01:36 +02:00
Ray
8b3603cd48
Merge pull request #117 from victorfisac/develop
...
MTL loading shininess to material glossiness
2016-05-20 14:59:49 +02:00
victorfisac
3fa6fdacf2
Improved MTL loading shininess value
2016-05-20 14:24:53 +02:00
victorfisac
90c62c4cc0
Fix small warning
...
Material glossiness is a float type value...
2016-05-20 14:07:50 +02:00
victorfisac
4f1bee3165
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-20 14:03:23 +02:00
raysan5
dcf5f45f68
Add lighting system -IN PROGRESS-
...
Improved materials
2016-05-20 12:28:07 +02:00
raysan5
af890cf210
Updated to avoid pointers
2016-05-20 10:53:58 +02:00
raysan5
c9e30f7754
Review struct typedef to avoid pointers for users
2016-05-20 10:53:31 +02:00
raysan5
03cc031d00
Remove TODO comments (already done)
2016-05-20 09:40:48 +02:00
raysan5
7d1d9ff143
Support DYNAMIC_DRAW mesh loading
2016-05-20 09:36:02 +02:00
Ray
bdb450fccb
Merge pull request #116 from kd7tck/newaudio
...
Redesign audio system to support multiple mix channels
2016-05-20 09:22:07 +02:00
Joshua Reisenauer
179f2f9e4f
windows automated compile
...
Only works when raylib is installed on windows system.
2016-05-19 20:56:38 -07:00
Joshua Reisenauer
41c5f3a017
Buffer for raw audio
2016-05-19 20:44:09 -07:00
Joshua Reisenauer
847944e240
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into newaudio
2016-05-19 15:31:56 -07:00