Commit Graph
21 Commits
Author SHA1 Message Date
Bastien Bouclet b2caa0be9e STARK: Only snap vertices to the pixel grid for text
Fixes a very minor issue with the shake effect where all the scene
elements don't move with the same offset.
2019-05-30 11:44:43 +02:00
Bastien Bouclet 14c934bfc0 STARK: Better fix for aligning 2d surfaces to native pixels
The previous solution sometimes yielded incorrect computations resulting
in surfaces twitching by 1px.
2019-05-25 13:18:42 +02:00
Bastien Bouclet 05076a7227 STARK: Fix cursor highlight blending 2019-01-20 10:53:38 +01:00
Bastien Bouclet 036cca6b56 STARK: Implement lighting for props 3d models 2018-12-01 11:25:55 +01:00
Douglas Liu bf1f009816 STARK: Cast the shadow based on lights 2018-08-03 22:56:26 +08:00
Douglas Liu 8da6f7e094 STARK: Make the shadow semi-transparent 2018-07-25 22:07:21 +08:00
Douglas Liu 891375d509 STARK: Project a black shadow from above 2018-07-25 22:07:21 +08:00
Bastien Bouclet d4a890a36e STARK: Fix biff mesh texture coordinates
For some reason, the doubleSided material flag seems to affect what
texture coordinates transform needs to be applied.
2018-04-14 09:29:25 +02:00
Bastien Bouclet a0a9abd46f STARK: Improve prop meshes texture coordinates
Still not quite perfect
2017-05-27 13:30:46 +02:00
Awad Mackie 54cdb8053a STARK: Implement opFadeScene 2017-04-08 14:30:13 +01:00
Bastien Bouclet b0989c7a83 STARK: Rename the box shader to surface 2016-01-01 07:30:12 +01:00
Bastien Bouclet defa657429 STARK: Surfaces can be drawn with a B&W saturation effect 2016-01-01 07:30:12 +01:00
Pawel Kolodziejski f9e78dc731 STARK: formating code - whitespaces 2016-01-01 07:30:11 +01:00
Bastien Bouclet 40b2d3ad4f STARK: Increase the maximum light count to ten
Fixes the Journeyman Inn and the Library
2016-01-01 07:30:09 +01:00
Bastien Bouclet 1ff3a2888c STARK: Fix GLSL 1.20 support 2016-01-01 07:30:06 +01:00
Bastien Bouclet d471401da9 STARK: Add lighting for actor models 2016-01-01 07:30:05 +01:00
Bastien Bouclet 6b2a527289 STARK: Add some rendering code for prop animations
Textures are rendering incorrectly
2016-01-01 07:30:04 +01:00
Bastien Bouclet f67675e377 STARK: Fixed the actor transformation matrix
So that no additional transform is performed in the vertex shader
2016-01-01 07:29:55 +01:00
Bastien Bouclet 030cc7794c STARK: Fix actor rendering with GLSL 1.20
int attributes are not supported
2016-01-01 07:29:39 +01:00
Bastien Bouclet 4950d2b755 STARK: Use a shader to render 2D surfaces 2016-01-01 07:29:39 +01:00
Bastien Bouclet 6f4b811529 STARK: Draw the actors using an OpenGL shader 2016-01-01 07:29:39 +01:00