mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
visuals
This commit is contained in:
parent
c6dc96b795
commit
82def16969
@ -5,5 +5,5 @@ layout(location = 0) in vec3 f_pos;
|
|||||||
layout(location = 0) out vec4 tgt_color;
|
layout(location = 0) out vec4 tgt_color;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
tgt_color = vec4(vec3(1), .25);
|
tgt_color = vec4(.55, .92, 1.0, .02);
|
||||||
}
|
}
|
||||||
|
@ -6445,10 +6445,10 @@ impl<S: Skeleton> FigureState<S> {
|
|||||||
// Handle weapon trails
|
// Handle weapon trails
|
||||||
let weapon_offsets = offsets.weapon_trail_mat.map(|mat| {
|
let weapon_offsets = offsets.weapon_trail_mat.map(|mat| {
|
||||||
let (trail_start, trail_end) = match tools.0 {
|
let (trail_start, trail_end) = match tools.0 {
|
||||||
Some(ToolKind::Sword) => (29.0, 29.25),
|
Some(ToolKind::Sword) => (20.25, 29.25),
|
||||||
// TODO: Make sure these are good positions, only did tweaking on sword
|
// TODO: Make sure these are good positions, only did tweaking on sword
|
||||||
Some(ToolKind::Axe) => (19.0, 19.25),
|
Some(ToolKind::Axe) => (10.0, 19.25),
|
||||||
Some(ToolKind::Hammer) => (19.0, 19.25),
|
Some(ToolKind::Hammer) => (10.0, 19.25),
|
||||||
_ => (0.0, 0.0),
|
_ => (0.0, 0.0),
|
||||||
};
|
};
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user