mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GRIM: Actors and billboards should not share the same shader uniforms
Fixes Manny's smoke idle animation
This commit is contained in:
@@ -376,7 +376,7 @@ void GfxOpenGLS::setupShaders() {
|
||||
|
||||
static const char* actorAttributes[] = {"position", "texcoord", "color", "normal", NULL};
|
||||
_actorProgram = Graphics::Shader::fromFiles(isEMI ? "emi_actor" : "grim_actor", actorAttributes);
|
||||
_spriteProgram = _actorProgram->clone();
|
||||
_spriteProgram = Graphics::Shader::fromFiles(isEMI ? "emi_actor" : "grim_actor", actorAttributes);
|
||||
|
||||
static const char* primAttributes[] = { "position", NULL };
|
||||
_shadowPlaneProgram = Graphics::Shader::fromFiles("shadowplane", primAttributes);
|
||||
|
||||
Reference in New Issue
Block a user