mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
WIP.
This commit is contained in:
parent
f52f146db5
commit
7cae04883e
1 changed files with 11 additions and 0 deletions
|
@ -718,6 +718,17 @@ void initZPassPipelines(ShapePlumber& shapePlumber, gpu::StatePointer state) {
|
||||||
shapePlumber.addPipeline(
|
shapePlumber.addPipeline(
|
||||||
ShapeKey::Filter::Builder().withSkinned().withFade(),
|
ShapeKey::Filter::Builder().withSkinned().withFade(),
|
||||||
skinFadeProgram, state);
|
skinFadeProgram, state);
|
||||||
|
|
||||||
|
//Added for dual quaternions
|
||||||
|
auto skinDualQuatVertex = skin_model_shadow_dq_vert::getShader();
|
||||||
|
gpu::ShaderPointer skinFadeDualQuatProgram = gpu::Shader::createProgram(skinFadeVertex, skinFadePixel);
|
||||||
|
shapePlumber.addPipeline(
|
||||||
|
ShapeKey::Filter::Builder().withSkinned().withDualQuatSkinned().withFade(),
|
||||||
|
skinDualQuatVertex, state);
|
||||||
|
|
||||||
|
shapePlumber.addPipeline(
|
||||||
|
ShapeKey::Filter::Builder().withSkinned().withDualQuatSkinned().withoutFade(),
|
||||||
|
skinDualQuatVertex, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "RenderPipelines.h"
|
#include "RenderPipelines.h"
|
||||||
|
|
Loading…
Reference in a new issue