Jump to content

Matte shadow with shadowGenerator


Vousk-prod.
 Share

Recommended Posts

Hey community !

 

It's quite easy to do a matte shadow object with standard material using a baked shadow texture in opacityTexture slot, but with realtime shadow I have no clue how to do such a thing.

The idea is to have an "invisible" object receiving realtime shadows and displaying only those shadows (with proper alpha against objects behind it).

 

Is there a way to do that ?

Link to comment
Share on other sites

Since BJS is not simply a game engine but a true HTML5 3D engine, we have to think "web pages" instead of "games in a canvas". Matte shadows would give the abilty to put a 3D objects above any background of an HTML page, with proper realtime shadow projected onto that page. Use cases are only limited by imagination :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...