Ray
f9e4faff09
Review standard lighting sample -WIP-
It's broken.
6 lat temu
Ray
b80ec381c8
Reviewed lighting example...
No model available, this example should probably be redesigned...
6 lat temu
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
7 lat temu
Wilhem Barbier
056a494baf
Fix some other typos
7 lat temu
Ray
20d205cae5
Working on examples...
8 lat temu
Ray
dd4dd0e87d
Reorganize examples folder
8 lat temu
Ray
37a64df7b9
Move lighting system out of raylib
Lighting is implemented as a raylib example now
8 lat temu
Ray
f164ec80d6
Upload wave collector - GGJ17 game
8 lat temu
raysan5
648676f46b
Update examples to new camera system
8 lat temu
Ray
904ef0d4be
Adjust to standard example screen size
9 lat temu
raysan5
302ec438dd
Removed colTint, tint color is colDiffuse
Tint color could be applied to colDiffuse... but what's the best way?
Replace it? Multiply by? A point to think about...
9 lat temu
Ray
caa7bc366b
Reviewed DrawLight() function and some tweaks
9 lat temu
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.
9 lat temu
victorfisac
0ff26f527f
Added normal and specular maps logic to standard...
...shader and updated example.
9 lat temu
raysan5
48374c85dd
Some tweaks
It seems there are some problems with DrawLights()
9 lat temu
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.
9 lat temu
raysan5
29761c2519
Testing new material usage
9 lat temu
raysan5
1d545449bb
Reviewed shaders and added comments
9 lat temu
raysan5
d8bd8634ab
3d Camera: Added support for field-of-view Y
9 lat temu
raysan5
183795b8aa
Review literals type
9 lat temu
raysan5
acc322b3e1
Added new examples: SHADERS
9 lat temu
raysan5
ca402e9d36
New examples added (with some resources)
9 lat temu
raysan5
8745d733f9
Replaced 3d model example resources
Cat replaced by dwarf
9 lat temu
raysan5
51688c004c
Code cleaning, removed useless spaces
10 lat temu
raysan5
5ecb6801fa
Examples renaming and test examples merge
Examples have been renamed for coherence with raylib modules and test
examples have been merged into examples folder.
10 lat temu
Ray
3a0d164a76
Rename ex07c_3d_models.c to models_obj_loading.c
10 lat temu
raysan5
01651af08a
Update examples and remove .exe
10 lat temu
raysan5
5e2e9aa23e
Corrected bug with DrawModel()
10 lat temu
raysan5
62f298ce54
Updated
11 lat temu
raysan5
6f9d7db4ad
Updated
11 lat temu
raysan5
e9143b8a8d
Added some functions and Updated examples
View CHANGELOG for details
11 lat temu
Ray
818e79638b
Replaced tabs by 4 spaces
11 lat temu
raysan5
1a8cdc10b7
Added some examples
11 lat temu