Lighting

Follow

Comments

26 comments

  • Avatar
    DreadKnight (Sketchfab Profile)

    This is really nice stuff! :-)

    0
    Comment actions Permalink
  • Avatar
    zinda (Sketchfab Profile)

    Great job!!

    0
    Comment actions Permalink
  • Avatar
    cognition (Sketchfab Profile)

    How do you load your own environments though?

    0
    Comment actions Permalink
  • Avatar
    gunnar (Sketchfab Profile)

    I'm also wondering how to change the environment with my own panoramas. How do you do that? Is it possible?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    @cognition @gunnar - We just released this feature!

    0
    Comment actions Permalink
  • Avatar
    fredlucazeau (Sketchfab Profile)

    Hi @James

    Could you please update this lighting help page to explain how the environnement is casting shadows ?

    It seams that the shadows are casted from an arbitrary directional light not in relation with the HDRI map content.

    See in the exemple below where there is not directional highligt in the map but still a spot light is generating light and shadows from one direction.

    https://sketchfab.com/models/e39555d3242a4c48a3bb4d3bf98b651b

    Regards

    Fred

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hi Fred,

    I believe the shadows are cast by a point of the highest brightness in the HDR image. Looking at that model, your environment is more or less uniform, so the highlight/shadow seems arbitrary.

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    If you look at other environments in the list, you can see the brightest point is marked in the thumbnail.

    0
    Comment actions Permalink
  • Avatar
    SkyNav (Sketchfab Profile)

    I am trying to upload a 360 environment, but it's taking forever and still "Processing your environment". How long does this take? I am going on 15 minutes for a 29 mb file, is this normal?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hi there,

    Sorry about that! It's a known issue that environment processing is really slow at the moment. We have some improvements planned, but it going to be a while before we can implement them because they will depend on some other infrastructure improvements coming later this year.

    In the meantime, the environments should finish processing eventually, and you'll find them available in the dropdown.

    0
    Comment actions Permalink
  • Avatar
    lunacn (Sketchfab Profile)

    Hi James!
    I use Tilt Brush exporter,but the color is not beautiful as in tilt brush.
    I clicked Load Lighting Preset and there is no select of the available presets.
    I don't know how to modefy the light. Can you help me?

    And, the brushes with flickering effects are not displayed properly. (>﹏<) Why?

    Wish your reply.

    thx
    Luna S. H.

    0
    Comment actions Permalink
  • Avatar
    FLJ_indonesia (Sketchfab Profile)

    Hi James, Hi everyone, how to set light from within an object, like a lamp in the dark ? Thanks

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hello,

    We don't have a way to attach a light to an object, but you can fake it by placing an appropriate light inside or nearby.

    Not the best example, but I tried this quickly with a spot light near the lightbulb of the lamp:

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    With some emission and Bloom, you could also make the light a bit more realistic.

    https://sketchfab.com/3d-models/table-lamp-duplicated-version-6478b45ab00046cd8d8ed69412bdf651

    0
    Comment actions Permalink
  • Avatar
    wowsolution (Sketchfab Profile)

    I can't set the spot light falloff more than 1, Why that happens?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    wowsolution - A falloff of 1 means that the light intensity falls off immediately, while a falloff of 0 means the light never falls off (it reaches infinitely far away). Can you explain the use case or link to a model where you would need a falloff greater than 1?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    To elaborate a little bit, lights at the moment are not completely physically accurate, and we are using an approximation of real life attenuation effect. We will work on a more physically based lightning in the future. Falloff is sort of an arbitrary factor that doesn't make sense in real life.

    0
    Comment actions Permalink
  • Avatar
    re1monsen (Sketchfab Profile)

    Hey, is it possible to import lights to sketchfab using blender in someway? Even if it is the position will optimize my workflow a lot. Thanks. 

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hey re1monsen

    I'm afraid we do not import lights from Blender (or any other formats). Are you trying to have the same lighting settings across many models? In the future, we hope to implement a "presets" feature that will allow you to easily save and copy settings such as lighting between models, and/or set a default. Is that something you would be interested in?

    0
    Comment actions Permalink
  • Avatar
    re1monsen (Sketchfab Profile)

    Hey James, 

    I think it would be a great feature. Everything you can do over there to make the lighting process dynamic is greatly appreciated.  If I can upload and start from a few custom presets that have the basic look I work with and copy and paste them between the models is a huge time saver. What will also be great is to be able to rotate all lights at the same time from a single point . Sometimes I want that specific angle of the model to be perfectly light with the proper light ratio and it is really hard to do it when most of the time I can't even see the light gizmos. What I'm saying is parenting all lights to an empty and rotate that empty to rotate all the lights in the scene. I don't know how hard it will be to implement but it will be huge to have it. 

    Thank you for the reply and for the amazing work with the platform. . 

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Understood! Thanks for the feedback.

    At the moment, the closest we have to that is the ability to rotate all the lighting, just the environment, or just the real-time lights around the z-axis simultaneously. You can read about this here: https://help.sketchfab.com/hc/en-us/articles/202509026-Navigation-and-Controls#lights

    1
    Comment actions Permalink
  • Avatar
    re1monsen (Sketchfab Profile)

    Jamesssss

    I was looking at the Lab section of SF and I saw an example of a youtube video embedded in a 3d model. Is it possible to add video textures to models? If so, where can I learn to do it.  Also I would like to mention that the Screenshot tool is super duper useful. 

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hello!

    Glad the screenshot tool is useful for you! Posting links here for anyone else who lands here:

    You can add video textures to models using the Viewer API.

    0
    Comment actions Permalink
  • Avatar
    re1monsen (Sketchfab Profile)

    Great, I'll try to make it work.

    0
    Comment actions Permalink
  • Avatar
    craigFM (Sketchfab Profile)

    Hello!  I be needing to import many models in the future and apply the same custom lighting preset to each.  Is there a way to save lighting presets?  Is there any way to configure all the 3D settings programmatically via API?

    thanks!

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hello! Not yet, but it's a big project that we want to do in the future. I'm going to create a support ticket on your behalf so that I can add your vote to the feature request.

    0
    Comment actions Permalink

Please sign in to leave a comment.