Jump to content

Search the Community

Showing results for tags 'sky'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 3 results

  1. As @Wingnut asked for a sneak peak, here's my little celestial sphere demo (very much an early work in progress). WIP link: Celestial sphere What's the point you ask? If you want a realistic night sky then why not just use skybox textures of the Milky Way for which NASA have some great resources like here and here? Well I thought it'd be fun to generate it dynamically based on real star map data of the 5000 brightest stars (about the maximum visible by the naked eye from Earth under ideal conditions). The data (right ascension, declination, color, magnitude etc) is a subset of the Tycho-2 Catalogue. This gives me more control over how the stars are rendered (relative scale, brightness, color enhancement, blending with other skyboxes, star "twinkle" effect, constellation lines etc). Ultimately I'd like to get to the stage where I can dynamically generate hyper-realistic, bordering on surreal, skies similar to what you see in the best landscape astro-photography like that of Mike Taylor. To get a good result (be able to make out clear, crisp individual stars) using skybox textures, the resolution and resulting filesize and vram requirements need to be quite large, which isn't ideal for web deployment. This dynamic generation approach means I can use one very small texture to represent a single star, but at the cost of more triangles to render. The stars always look crisp and sharp. Ultimately I'd like to blend this with a very low-res Milky Way skybox behind, combine it with the SkyMaterial, add the moon and phases, day/night transition, geolocation and date/time support etc. I don't want a full astronomy / night sky app, just a drop-in super-realistic and dynamic sky for future projects. Ambitious I know, but I have an astronomy maths book handy and I've made some progress on that front already ...
  2. Hello everyone, I hope you had great holidays! I am back at work now and found these new materials very interesting. While implementing the new "sky material", I encountered the following error: File: /dist/babylon.skyMaterial.js this._effect = scene.getEngine().createEffect(shaderName, attribs, ["world", "viewProjection", "vFogInfos", "vFogColor", "pointSize", "vClipPlane", "luminance", "turbidity", "rayleigh", "mieCoefficient", "mieDirectionalG", "sunPosition" ], [], join, fallbacks, this.onCompiled, this.onError); } if (!this._effect.isReady()) { // <=== this._effect is null, therefore error "isReady of null" return false; } this._renderId = scene.getRenderId(); this._wasPreviouslyReady = true;this._effect.isReady() throws an error because this._effect is null. What's the problem here? Thanks Kevin
  3. Hello everyone, I have a sky and I would like to display a day & night cycle. How a can do that? I try with gradient bitmap but the result isn't good :/ Thanks!
×
×
  • Create New...