Jump to content

how to apply normalmap(bumpmap) using cyos with shadermaterial?


guzuomuse
 Share

Recommended Posts

i 'm learning normalmap using babylonjs i want to apply normalmap use shadermaterial, can anyone show me the code how to to this with babylonjs and cyos---http://cyos.babylonjs.com

.

the requirement is very simple just a diffusetexture and bumptexture

if possible , i don't want any light just like the cyos's basic.

if lighting is necessary just set the light color white.

many thankssss.....

Link to comment
Share on other sites

@Deltakosh,yes it's easy with StandardMaterial,

but i just want to learn the how to use the babylon's shader and normalmap with shader.

in fact i'm a little not satisfy with the light effect with standarmaterial, i want to create a basic normap shader as simple as i can.

if possible i don't want to use any lighting

i can write shader code with unity 3d,but i don't know how to do this with babylon.

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