DamageIndicatorSystem code looking good. Test working well. Sprite display fixed by Viktor
This commit is contained in:
@@ -3,13 +3,10 @@
|
||||
|
||||
<Components>
|
||||
<c:Sprite>
|
||||
<DiffuseTexture>Textures/DefenderGunRedDiff.png</DiffuseTexture>
|
||||
<GlowMap>Textures/DefenderGunRedIncd.png</GlowMap>
|
||||
<DiffuseTexture>Textures/TempDamageIndicator.png</DiffuseTexture>
|
||||
<GlowMap>Textures/TempDamageIndicator.png</GlowMap>
|
||||
<Color A="1" B="0.721568644" G="1" R="0.839215696"/>
|
||||
</c:Sprite>
|
||||
<c:Model>
|
||||
<Resource>Models/Core/UnitQuad.mesh</Resource>
|
||||
</c:Model>
|
||||
<c:Transform>
|
||||
<Position X="0" Y="0" Z="-0.472000033"/>
|
||||
<Scale X="0.100000001" Y="0.200000003" Z="0.5"/>
|
||||
|
||||
@@ -16,7 +16,7 @@ out VertexData{
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = P * M * vec4(Position, 1.0);
|
||||
gl_Position = P * V * M * vec4(Position, 1.0);
|
||||
|
||||
Output.Position = Position;
|
||||
Output.TextureCoordinate = TextureCoords;
|
||||
|
||||
Reference in New Issue
Block a user