mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 19:10:48 +02:00
With a shader compiling
This commit is contained in:
parent
3278b76eef
commit
e3d11560eb
1 changed files with 3 additions and 3 deletions
|
@ -63,10 +63,10 @@ void main() {
|
|||
*/
|
||||
packDeferredFragmentLightmap(
|
||||
normalize(_normal),
|
||||
1.0 // Color.a * a,
|
||||
mix(Color.rgb, backgroundColor, Color.a * a),
|
||||
step(alphaThreshold, Color.a * a),
|
||||
mix(Color.rgb, backgroundColor.rgb, Color.a * a),
|
||||
DEFAULT_ROUGHNESS,
|
||||
DEFAULT_METALLIC,
|
||||
DEFAULT_SPECULAR,
|
||||
Color.rgb);
|
||||
mix(Color.rgb, backgroundColor.rgb, Color.a * a));
|
||||
}
|
Loading…
Reference in a new issue