Jump to content
YouGroove

Specular map on terrain

Recommended Posts

Why not ?

How can we paint snow specular map on terrain ?

2012-12-02_00004.jpg

How can we have a terrain cover of water (specular effect) caus it is rainning ?

Share this post


Link to post

substances tongue.png

 

terrain is really 80s here. dont know how to change shaders and why the solution is that way solved. for now I guess there is no chance to add specular when we dont can change shaders or add layers. (also one fact why I dont use terrain here because it feels like a terrainbeta)

Share this post


Link to post

Yes, terrain lacks simply specular shader, this has nothing to do with substance from a shader point of view.

Terrain uses it's own fixed shaders, but adding some new one allowing specular i think this is easy, but i'm not shader coder at all.

 

It's a suggestion, i don't need it , but as i was toying with terrain, and wanting snow, i just seen we could not make specular like in games unsure.png

Share this post


Link to post

In terrain.shader look for :

 

fragData1 = vec4(normal * 0.5 + 0.5, 0.0);		 //0.0 is specular power

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...