Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

aframe-sun-sky broken in A-Frame 1.7.0 #349

Copy link
Copy link
@crcdng

Description

@crcdng
Issue body actions

Note: this is a new bug (not the previous ones reported for aframe-sun-sky); the component works in A-Frame 1.6.0

<a-sun-sky
        id="sun"
        material="sunPosition: -0.2 20.1 -5; side: back"
      ></a-sun-sky>

results in:


Material Name: 
Material Type: ShaderMaterial

Program Info Log: Fragment shader is not compiled.
�

FRAGMENT

ERROR: 0:65: 'luminance' : redefinition
ERROR: 0:206: 'luminance' : variable expected
WARNING: 0:206: '/' : Divide by zero during constant folding
ERROR: 0:211: 'luminance' : variable expected
WARNING: 0:211: '/' : Divide by zero during constant folding
�

  60: uniform vec3 sunPosition;
  61: varying vec3 vWorldPosition;
  62: 
  63: vec3 cameraPos = vec3(0., 0., 0.);
  64: 
> 65: uniform float luminance;
  66: uniform float turbidity;
  67: uniform float reileigh;
  68: uniform float mieCoefficient;
  69: uniform float mieDirectionalG;
  70: 
  71: // constants for atmospheric scattering
[...]
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.