mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-13 16:59:00 +08:00
Changed vertex attributes syntax in gouraud_light_instanced.vs
This commit is contained in:
parent
5f26bfd397
commit
c797bed67d
@ -15,11 +15,11 @@ const vec3 LIGHT_FRONT_DIR = vec3(0.6985074, 0.1397015, 0.6985074);
|
|||||||
#define INTENSITY_AMBIENT 0.3
|
#define INTENSITY_AMBIENT 0.3
|
||||||
|
|
||||||
// vertex attributes
|
// vertex attributes
|
||||||
in vec3 v_position;
|
attribute vec3 v_position;
|
||||||
in vec3 v_normal;
|
attribute vec3 v_normal;
|
||||||
// instance attributes
|
// instance attributes
|
||||||
in vec3 i_offset;
|
attribute vec3 i_offset;
|
||||||
in vec2 i_scales;
|
attribute vec2 i_scales;
|
||||||
|
|
||||||
// x = tainted, y = specular;
|
// x = tainted, y = specular;
|
||||||
varying vec2 intensity;
|
varying vec2 intensity;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user