wizgrav / aframe-effects

A VR Ready Post processing framework for Three.js and/or A-Frame
https://wizgrav.github.io/aframe-effects
MIT License
208 stars 29 forks source link

Default value `null` does not match type `selector` in component `godrays` #2

Open studiouniverse opened 7 years ago

studiouniverse commented 7 years ago

core:schema:warn Default value 'null' does not match type 'selector' in component 'godrays'

Get this warning on scene load, even when I seemingly am not using the godray attribute, which I'm assuming you don't have to use?

(Aframe version 0.5.0)

wizgrav commented 7 years ago

Yes this is ok, won't affect operation. The godrays component needs an entity to act as the center of the radial blur. By default I set it to null and the schema parser whines when the component is registered. I'll see if that can be silenced but doesn't affect operation in any case and you don't have to use godrays.

On a unrelated note how do you use effects with 0.5.0, it's missing the functionality required. Maybe you mean current aframe master?