{"id":10205,"date":"2024-07-13T01:44:32","date_gmt":"2024-07-13T05:44:32","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-pro-docs&p=10205"},"modified":"2024-11-08T03:47:15","modified_gmt":"2024-11-08T08:47:15","slug":"light","status":"publish","type":"sceneri-pro-docs","link":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/","title":{"rendered":"Light"},"content":{"rendered":"

Overview<\/h3>\n

Lighting plays a critical role in creating atmosphere, guiding player focus, and enhancing the overall realism of a game environment. Sceneri offers a variety of light components that give developers the flexibility to illuminate their scenes in different ways. Whether you are simulating sunlight, providing ambient lighting, or focusing light on a specific area, Sceneri’s light components allow you to fine-tune the lighting to match your game\u2019s needs.<\/p>\n

This article covers the key light components in Sceneri, including Directional Light<\/strong>, Environment Light<\/strong>, Point Light<\/strong>, and Spot Light<\/strong>, explaining how each can be used to achieve unique lighting effects.<\/p>\n

Component Types<\/h3>\n<\/div><\/div><\/div>

Icon<\/p>\n<\/div><\/div><\/div>

Description<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div>

  • <\/span><\/div><\/div><\/div>

    Directional Light<\/h4><\/div>

    Simulates light rays coming from a single, distant source, providing uniform illumination across a scene, commonly used to represent sunlight or other large-scale light sources.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Environment Light<\/h4><\/div>

    Provides ambient lighting to a scene, simulating diffuse light that comes from all directions, typically used to create natural or consistent illumination across an environment.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Point Light<\/h4><\/div>

    Emits light uniformly in all directions from a specific point in space, creating localized illumination that diminishes with distance, ideal for simulating light sources like lamps or candles.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Spot Light<\/h4><\/div>

    Casts a focused cone of light in a specific direction, creating a spotlight effect that illuminates a defined area, perfect for effects like stage lighting or focused light sources.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n<\/ul><\/div><\/div><\/div>

    Choosing the Right Light<\/h3>\n

    Each of Sceneri’s light components serves a unique purpose, and selecting the right type of light for your scene is crucial for achieving the desired atmosphere. Here\u2019s how to choose the best light component for different situations:<\/p>\n

      \n
    • Directional Light<\/strong>: Use for large-scale lighting like sunlight or moonlight. It provides even lighting across a wide area and is essential for outdoor environments.<\/li>\n
    • Environment Light<\/strong>: Best for creating soft, global illumination that prevents harsh shadows, perfect for indoor environments or for simulating overcast skies or diffused daylight.<\/li>\n
    • Point Light<\/strong>: Ideal for small, localized light sources like lamps or candles. Use when you need to illuminate a specific area or object with fall-off.<\/li>\n
    • Spot Light<\/strong>: Use when you need focused light, such as for a flashlight effect, stage lighting, or highlighting specific objects in the scene.<\/li>\n<\/ul>\n

      Summary<\/h3>\n

      Sceneri\u2019s light components give developers the flexibility to craft dynamic, realistic, and visually engaging environments. By using Directional, Environment, Point, and Spot Lights effectively, you can create a variety of lighting effects that enhance the mood, direct player attention, and improve the overall visual quality of your game. Experiment with different light combinations and properties to bring your scene to life.<\/p>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"

      Different types of Light Components will allow you to add a light source as a sub-object to an Entity, depending upon the effect you aim to achieve this can vary from directional lights (sun) or a simple candlelight (point light).<\/p>\n","protected":false},"author":251212454,"featured_media":0,"parent":10195,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"sceneri-docs-tag":[1720],"class_list":["post-10205","sceneri-pro-docs","type-sceneri-pro-docs","status-publish","format-standard","hentry","sceneri-docs-tag-components"],"acf":[],"yoast_head":"\nLight - Sceneri<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Light\" \/>\n<meta property=\"og:description\" content=\"Different types of Light Components will allow you to add a light source as a sub-object to an Entity, depending upon the effect you aim to achieve this can vary from directional lights (sun) or a simple candlelight (point light).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/\" \/>\n<meta property=\"og:site_name\" content=\"Sceneri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sceneriapp\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-08T08:47:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@sceneriapp\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/\",\"url\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/\",\"name\":\"Light - Sceneri\",\"isPartOf\":{\"@id\":\"https:\/\/www.sceneri.com\/#website\"},\"datePublished\":\"2024-07-13T05:44:32+00:00\",\"dateModified\":\"2024-11-08T08:47:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sceneri.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Components\",\"item\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Light\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sceneri.com\/#website\",\"url\":\"https:\/\/www.sceneri.com\/\",\"name\":\"Sceneri\",\"description\":\"Collaborate in 3D.\",\"publisher\":{\"@id\":\"https:\/\/www.sceneri.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sceneri.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.sceneri.com\/#organization\",\"name\":\"Sceneri\",\"url\":\"https:\/\/www.sceneri.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png\",\"contentUrl\":\"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png\",\"width\":1630,\"height\":512,\"caption\":\"Sceneri\"},\"image\":{\"@id\":\"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/sceneriapp\",\"https:\/\/x.com\/sceneriapp\",\"https:\/\/www.reddit.com\/r\/sceneriapp\/\",\"https:\/\/www.twitch.tv\/sceneriapp\",\"https:\/\/www.youtube.com\/@sceneriapp\",\"https:\/\/www.linkedin.com\/company\/sceneri\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Light - Sceneri","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/","og_locale":"en_US","og_type":"article","og_title":"Light","og_description":"Different types of Light Components will allow you to add a light source as a sub-object to an Entity, depending upon the effect you aim to achieve this can vary from directional lights (sun) or a simple candlelight (point light).","og_url":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/","og_site_name":"Sceneri","article_publisher":"https:\/\/www.facebook.com\/sceneriapp","article_modified_time":"2024-11-08T08:47:15+00:00","twitter_card":"summary_large_image","twitter_site":"@sceneriapp","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/","url":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/","name":"Light - Sceneri","isPartOf":{"@id":"https:\/\/www.sceneri.com\/#website"},"datePublished":"2024-07-13T05:44:32+00:00","dateModified":"2024-11-08T08:47:15+00:00","breadcrumb":{"@id":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/light\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sceneri.com\/"},{"@type":"ListItem","position":2,"name":"Components","item":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/"},{"@type":"ListItem","position":3,"name":"Light"}]},{"@type":"WebSite","@id":"https:\/\/www.sceneri.com\/#website","url":"https:\/\/www.sceneri.com\/","name":"Sceneri","description":"Collaborate in 3D.","publisher":{"@id":"https:\/\/www.sceneri.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sceneri.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.sceneri.com\/#organization","name":"Sceneri","url":"https:\/\/www.sceneri.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png","contentUrl":"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png","width":1630,"height":512,"caption":"Sceneri"},"image":{"@id":"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sceneriapp","https:\/\/x.com\/sceneriapp","https:\/\/www.reddit.com\/r\/sceneriapp\/","https:\/\/www.twitch.tv\/sceneriapp","https:\/\/www.youtube.com\/@sceneriapp","https:\/\/www.linkedin.com\/company\/sceneri\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs\/10205"}],"collection":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs"}],"about":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/types\/sceneri-pro-docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/users\/251212454"}],"version-history":[{"count":0,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs\/10205\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs\/10195"}],"wp:attachment":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/media?parent=10205"}],"wp:term":[{"taxonomy":"sceneri-docs-tag","embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-tag?post=10205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}