| 1 |
{ -*- buffer-read-only: t -*- } |
| 2 |
{ DON'T EDIT -- this file was automatically generated from "source/lighting_model_unlit/shading_gouraud.vs" } |
| 3 |
'uniform vec4 castle_MaterialEmissiveAlpha;' + LineEnding + |
| 4 |
'' + LineEnding + |
| 5 |
'void calculate_lighting(out vec4 result, const in vec4 vertex_eye, const in vec3 normal_eye)' + LineEnding + |
| 6 |
'{' + LineEnding + |
| 7 |
' /* In case of UnlitMaterial, Color/ColorRGBA replaces emissive color.*/' + LineEnding + |
| 8 |
' result = castle_apply_color_per_vertex(castle_MaterialEmissiveAlpha);' + LineEnding + |
| 9 |
'}' + LineEnding + |
| 10 |
'' |