Commit Graph

114 Commits

Author SHA1 Message Date
Rod Kay
082693f3e8 opengl.geometry.colored: Add extra check for GL errors. 2025-03-20 21:57:34 +11:00
Rod Kay
5360507248 opengl.texture_set.stream: Handle case where 'Animation_view' is null. 2024-09-24 16:13:59 +10:00
Rod Kay
ab36317bd2 opengl: Add texture animation. 2024-09-24 13:45:18 +10:00
Rod Kay
d0e3870346 opengl.texturing: Update shader 'frag.snippet' to allow models with multiple textures to selectively apply/unapply individual textures. 2024-09-23 17:08:36 +10:00
Rod Kay
f59512d51e opengl: Allow models with multiple textures to selectively apply/unapply individual textures. 2024-09-23 17:05:25 +10:00
Rod Kay
44c1503013 box2d.object: Implement 'b2d_Object_apply_Torque_impulse' and 'b2d_Object_apply_Torque'. 2024-09-16 22:46:23 +10:00
Rod Kay
177376ab6d opengl.shader: Disable logging of shader programs. 2024-08-24 14:00:08 +10:00
Rod Kay
e8180cd883 opengl.renderer.lean: Add function to check if a light already exists. 2024-08-20 12:51:57 +10:00
Rod Kay
77d92d5e3b opengl+gel.world: Performance mods. 2024-08-18 11:31:26 +10:00
Rod Kay
d24de3e1f9 build_all: Updates. 2024-06-22 20:32:47 +10:00
Rod Kay
0889c6c07c opengl.shader: Only show debug info when in debug build mode. 2024-04-24 20:05:09 +10:00
Rod Kay
55cac1b347 opengl.tasks: Only check tasks are the same during debug build mode. 2024-04-24 19:48:30 +10:00
Rod Kay
55099f4991 opengl.errors: Use new 'Debugging' function to optimise out error checks when not building in 'debug' mode. 2024-04-24 19:20:07 +10:00
Rod Kay
5860ed71fb opengl.errors: Add a 'Debugging' function with separate bodies for debugging and not debugging. 2024-04-24 19:13:34 +10:00
Rod Kay
e202ce548d opengl: Bug fixes for opengl mesa software rendering. 2024-04-24 18:15:27 +10:00
Rod Kay
b9d9930a93 opengl.context: Add extra debugging message. 2024-04-24 12:41:30 +10:00
Rod Kay
081fcd860e opengl.model.texturing: Rid 'limited with' of 'openGL.Model'. 2024-04-24 12:40:42 +10:00
Rod Kay
6c0f5d9394 opengl.geometry: Add subprograms to get and set the model. 2024-04-24 12:38:29 +10:00
Rod Kay
66b60b5f8e opengl.renderer.lean: Add an 'add' procedure to allow manually managing light id's. 2024-03-10 14:25:05 +11:00
Rod Kay
ccfaff517b opengl.light: Add a forge. 2024-03-10 14:23:13 +11:00
Rod Kay
9ef4cc7026 opengl.palette: Add 'moonlight' color. 2024-03-03 20:27:03 +11:00
Rod Kay
92e2d91d09 opengl.light: Change light defaults. 2024-02-28 22:25:32 +11:00
Rod Kay
0b655ea2be opengl.light: Add 'Strength' to lights. 2024-02-28 21:11:59 +11:00
Rod Kay
25373dabfe opengl.shaders.lighting: Fix bug with direct light position/direction. 2024-02-28 19:57:00 +11:00
Rod Kay
d807a87cc1 opengl.program.lit: Cosmetics. 2024-02-28 19:52:06 +11:00
Rod Kay
0a6542a2c5 opengl.assets: Rid old files. 2024-02-28 19:44:20 +11:00
Rod Kay
5d6861143a opengl: Add comments and cosmetics to lighting shader. 2024-02-28 19:42:40 +11:00
Rod Kay
e27c348247 opengl: Add 'no_Shine' constant. 2024-02-28 19:40:32 +11:00
Rod Kay
45da868f0c opengl.shaders.lighting: Add 'TODO' for attenuation bug in lighting shader. 2024-02-25 18:48:12 +11:00
Rod Kay
d328369d24 opengl.shaders.lighting: Work around problem with specular highlighting. 2024-02-25 18:35:44 +11:00
Rod Kay
6e2edae1fb opengl.shaders: Rid 'lit_colored_skinned.frag' shader. 2024-02-23 23:01:16 +11:00
Rod Kay
68c1ff4764 opengl.shaders: Use unified lighting and texturing 'snippets' for fragment shaders. 2024-02-23 22:36:18 +11:00
Rod Kay
d1f702aab5 opengl.model: Use 'default_Shine' for all lit models. 2024-02-23 18:35:07 +11:00
Rod Kay
4717490e43 opengl.shaders: Allow up to 50 lights in fragment shaders. 2024-02-23 18:04:46 +11:00
Rod Kay
1937fb28c5 opengl-texture: Check for errors when setting wrap parameters. 2024-02-13 17:10:36 +11:00
Rod Kay
88dc115bad opengl.geometry.lit_colored_textured: Add TODO for shine. 2024-02-13 17:07:52 +11:00
Rod Kay
02411c1995 opengl.geometry.lit_textured: Cosmetics. 2024-02-13 17:07:01 +11:00
Rod Kay
f9c00d89a9 opengl.demo: Add texture tiling for polygons. 2024-02-13 17:05:53 +11:00
Rod Kay
009f0e1167 opengl.geometry: Fix 'Shine' attribute bug. 2024-02-12 21:02:08 +11:00
Rod Kay
c7f58797f3 opengl.texture: Add simple tiling. 2024-02-03 21:38:58 +11:00
Rod Kay
a0316025cf opengl.texture: Make 'GL_REPEAT' the default wrap mode. 2024-02-03 21:17:28 +11:00
Rod Kay
ae8c2b6f96 phsycis.box2d: Cosmetics. 2024-02-03 21:13:17 +11:00
Rod Kay
180625eb89 opengl.texture.coordinates: Cosmetics. 2024-02-03 20:20:17 +11:00
Rod Kay
ededc9ece8 box2d.physics.space: Rid debug info. 2024-01-16 14:10:19 +11:00
Rod Kay
7e1a4c47f6 opengl.model.circle: Add a 'colored' model. 2024-01-09 17:05:08 +11:00
Rod Kay
f4baa64e8f opengl.remote_model: Set default 'Shine' to '1.0'. 2024-01-09 16:57:56 +11:00
Rod Kay
ad2e6996eb Cosmetics. 2024-01-03 12:25:22 +11:00
Rod Kay
d25557e786 physics.box2d.thin: Rid 'box2d.h'. 2023-12-31 21:35:49 +11:00
Rod Kay
79cc7c5d56 physics.box2d.thin: Add 'box2d_c.b2d_point_collision.ads'. 2023-12-31 21:34:37 +11:00
Rod Kay
fd44dce0b2 physics.space: Add point casting. 2023-12-31 21:26:20 +11:00