Jump to content

Lightmap With OcclusionMap Support


MackeyK24
 Share

Recommended Posts

Yo @Deltakosh can you possibly add support in the shader/material system to use both Lightmaps (as shadowmap) and ambient occlusion ...

Currently the toolkit ONLY allow light map creation if the material DOES NOT have a ambient occlusion texture... If I override and allow both, it completely

ignores on some (or appears to ignore) the light map as shadow map or shows it funny.

So there seems to be some issue, I don't know if its by design or some webgl limitation or what... But do you think you can add support to use both...

I have some really Kool looking scene Survival Shooter Assets from Unity Asset Store that use PBR materials that have a Occlusion Map and also receives shadows (the floor for example has planks that have a occlusion texture but must also render the shadows of the other items in the scene via its light map index)...

For now... I have to remove the ambient occlusion from the floor wood planks and the walls so the the received shadows show up (via LightmapTexture as Shadow Map)... It looses a bit of the detail from the original PBR scene without the occlusion for all the little cracks in the planks...

PLEASE se what you can do :)

BTW... Check out this shot (without the occlusion in the floor and walls...still looks BEAUTIFUL to me)... Smooth looking shadows with PBR look... check out the to train on the floor... looks like PAINTED WOOD toy train... and its detail placement of the shadow underneath:

 

Check out the little HDR Color as the Emission color PBR materials used for the stars on wall... That is directly rendered using  BABYLON.PBRMaterial with a HDR color as the emission channel to give it the glowing look... All OUT-THE-BOX rendering the 

59e4c79453358_ScreenShot2017-10-16at4_49_17AM.thumb.png.899165cd041d96946ff9a225cf623f44.png

This is shot of the ORIGINAL Unity Game View of the scene (Obviously our shader/render pipeline a little different than unity default render pipeline... BUT IT LOOKS FREAKING GOOD TO ME compared to the original unity assets used to create scene):

59e4c874cd9b2_ScreenShot2017-10-16at4_53_27AM.thumb.png.7096d9f17c39f7201929031a61469d04.png

 

Not bad ehh :)

 

EDIT:

FIXED: Babylon Toolkit - Version 3.1.044 (Or Greater) fixes this issue :)

5a06dbd42033e_ScreenShot2017-11-11at1_14_47AM.thumb.png.f5b377172fa8cbac7e84fcd8110dbcb7.png

 

Link to comment
Share on other sites

Hello

we need to first release a version of your toolkit. I cannot keep adding features without giving the export to the community.

 

Please stop adding new feature just for a while, publish the tool and the documentation (you can even call it 0.5 if you want)

Because so far, I can't even test what I add for you

Link to comment
Share on other sites

7 hours ago, Deltakosh said:

Hello

we need to first release a version of your toolkit. I cannot keep adding features without giving the export to the community.

 

Please stop adding new feature just for a while, publish the tool and the documentation (you can even call it 0.5 if you want)

Because so far, I can't even test what I add for you

Would have to agree. I am waiting to jump in to BJS but the Unity toolkit must come out first. That is the only thing holding me back.

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...