Nunuhara Cabbage
f2dd4def12
Fix bug in gfx_draw_glyph
...
blend_amap_color_shader now uses the alpha value.
2022-04-29 18:13:22 -07:00
Nunuhara Cabbage
f7b6da9679
Implement DrawGraph.BlendAMapColorAlpha
...
Used in the Rance VI credits.
2022-04-28 20:43:55 -07:00
Nunuhara Cabbage
9089fa1fd1
Rewrite fnl font renderer
...
Only unscaled glyph bitmaps are now cached in regular memory. Scaled
glyphs are stored as textures on the GPU. Only the alpha channel on
glyph textures is used, with the color being provided as an input to the
shader.
Outline and bold rendering is improved by using a simple dilate shader.
This looks okay but could be improved (the result is a bit blurry
still).
2022-04-28 19:13:27 -07:00
Nunuhara Cabbage
95a7719b65
Implement DrawGraph.CopyRotateX,CopyRotateXUseAmap
...
Used in Tsuma Shibori.
2022-04-08 18:43:51 -07:00
kichikuou
2f64ee4d21
Do not use GLEW if USE_GLES is defined
...
GLEW does not support OpenGL ES so it shouldn't be used when targetting
OpenGL ES.
2021-12-21 13:11:34 +09:00
kichikuou
4d139a0ddd
Implement DrawGraph.SpriteCopyAMap
...
Used in GALZOO Island.
2021-06-13 11:43:27 +09:00
Nunuhara Cabbage
512c1dee2a
Implement DrawGraph.CopyStretchBlend{AMap}
...
Used in Haru Urare.
Also, redirect DrawGraph.CopyStretch{AMap}Interp to the regular
implementations (bilinar interpolation is default).
2021-05-17 09:01:11 -07:00
Nunuhara Cabbage
d7286a2f30
Implement DrawGraph.CopyRotateY{UseAMap}
...
Used in Haru Urare.
2021-05-17 08:01:35 -07:00
Nunuhara Cabbage
3b7fb2c60c
Use mat4 type from cglm instead of GLfloat[16]
...
Also reimplement DrawGraph.CopyRotZoom using cglm functions.
2021-05-16 17:34:42 -07:00
kichikuou
91213785a7
Implement DrawGraph.Copy{,AMap}{Width,Height}Blur
2021-05-16 22:04:40 +09:00
Nunuhara Cabbage
50a719ba76
Implement DrawGraph.FillAMap{Over,Under}Border
...
Used in Alice 2010.
2021-05-14 18:35:29 -07:00
Nunuhara Cabbage
291bb82be6
Implement DrawGraph.CopyStretchWithAlphaMap
2021-05-13 18:34:17 -07:00
Nunuhara Cabbage
713a612d2c
Implement DrawGraph.CopyWithAlphaMap
...
Used in Haru Urare.
2021-05-09 16:19:57 -07:00
kichikuou
e5cb875f9b
Implement DrawGraph.BlendAMapColor and DrawGraph.BlendDA_DAxSA
...
And fixes DrawGraph.SubDA_DAxSA.
2021-05-08 20:52:48 +09:00
Nunuhara Cabbage
0fb1ef1c05
Implement DrawGraph.FillWithAlpha
...
Used in Vanish!
2021-05-02 18:05:40 -07:00
Nunuhara Cabbage
ffc08d40f0
Implement DrawGraph.SubDA_DAxSA
...
Used in ほいっぷハニー.
2021-04-22 20:25:47 -07:00
Nunuhara Cabbage
f282c69266
Implement DrawGraph.CopyColorReverse
...
Just a copy operation that inverts colors. Used in Rance VI Sonogo.
2021-04-22 19:20:12 -07:00
Nunuhara Cabbage
d9e50ab809
Implement DrawGraph.blend
2020-08-27 17:22:03 -07:00
Nunuhara Cabbage
5d6f148e1b
Reorganize project file structure
...
- Create separate directories for source and header files.
- Build code shared between xsystem4 and aindump as a static library.
- Create header dirs gfx/ system4/ and vm/
- Make CG.c/h usable without a running VM
2019-12-31 17:50:40 -08:00