mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
add type to shader include
This commit is contained in:
parent
e6262de864
commit
8007fba909
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ float evalOpaqueFinalAlpha(float alpha, float mapAlpha) {
|
|||
return mix(alpha * glowIntensity, 1.0 - alpha * glowIntensity, step(mapAlpha, alphaThreshold));
|
||||
}
|
||||
|
||||
const DEFAULT_SPECULAR = vec3(0.1);
|
||||
const DEFAULT_SHININESS = 10;
|
||||
const vec3 DEFAULT_SPECULAR = vec3(0.1);
|
||||
const float DEFAULT_SHININESS = 10;
|
||||
|
||||
void packDeferredFragment(vec3 normal, float alpha, vec3 diffuse, vec3 specular, float shininess) {
|
||||
if (alpha != glowIntensity) {
|
||||
|
|
Loading…
Reference in a new issue