Commit Graph

20 Commits

Author SHA1 Message Date
Rod Kay
f1d9542ef3 opengl: More on texturing. 2025-09-10 06:24:29 +10:00
Rod Kay
5f0e2155be opengl: Revamp texturing. 2025-09-09 10:52:23 +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
e202ce548d opengl: Bug fixes for opengl mesa software rendering. 2024-04-24 18:15:27 +10: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
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
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
4717490e43 opengl.shaders: Allow up to 50 lights in fragment shaders. 2024-02-23 18:04:46 +11:00
Rod Kay
1beb8e1140 opengl: Work on multi-texturing. 2023-05-09 18:04:18 +10:00
Rod Kay
0cbd97b7a1 opengl.assets.shader: Add 'version.header' and 'texturing.frag' shader snippets. 2023-05-08 11:35:41 +10:00
Rod Kay
8d7f78b74f opengl.geometry: Add multi-texture support to more geometries. 2023-05-07 11:39:57 +10:00
Rod Kay
5daf101be3 opengl.shader: Allow shaders to be built from snippets. 2023-05-07 06:46:45 +10:00
Rod Kay
660ca343fa opengl.geometry.lit_textured_x2.fragment_shader: Apply alpha value to surface_Color, when combining textures. 2023-05-04 21:40:07 +10:00
Rod Kay
86721ca2db openGL: Add preliminary multi-texturing code. 2023-05-01 21:17:12 +10:00
Rod Kay
54a53b2ac0 Add initial prototype. 2022-07-31 17:34:54 +10:00