We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Object input not working in world material’s texture coordinates

Home Forums Bug Reports and Feature Requests Object input not working in world material’s texture coordinates

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #59830
    sergeverge
    Participant

    Hello! I am using camera constrained Empty as a source object for world’s hdr texture. It works in Blender, but in exported scene object’s texture coordinates are replaced by default ones.

    Attachments:
    You must be logged in to view attached files.
    #59839
    kdv
    Participant

    You don’t have any HDRi texture in your .blend file. And the object’s coordinates are applied to the environment cube texture as expected…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #59842
    sergeverge
    Participant

    Texture is not needed really to show setup doesn’t export correctly. This is world coordinates from camera view and expected result which is not preserved in .gltf

    Attachments:
    You must be logged in to view attached files.
    #59844
    kdv
    Participant

    That’s what I see after exporting

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #59847
    sergeverge
    Participant

    Hmm, have you changed anything in export settings? I am using verge 4.2 and Blender 3.4.1 and no luck in a couple of browsers.
    Could you share export files please?

    #59850
    kdv
    Participant

    Nothing special. Just pressed the Sneak Peek button. Blender 2.92/3.2/3.3. Btw, do you expect always to see the same colors on the screen (exactly like on the screenshot) or you just want to texture the the env. cube with the rainbow colors?

    Attachments:
    You must be logged in to view attached files.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #59851
    sergeverge
    Participant

    I want hdr texture to follow camera view like you have in blender’s material preview. This is just stripped version of it to pinpoint the issue.

    #59853
    kdv
    Participant

    so you want to see the same background image when rotating camera?

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #59855
    sergeverge
    Participant

    Actually, fixed lighting from camera view is what I am after, BG will be a solid color.
    Tested your file, thanks. My view is here, something is wrong definitely:

    Attachments:
    You must be logged in to view attached files.
    #59857
    kdv
    Participant

    Actually, fixed lighting from camera view is what I am after,

    then why did you focus on the environment light? Parent a light source to the scene camera. And you can’t change the environment cube’s texture coordinates dynamically…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.