YouGroove Posted March 29, 2014 Share Posted March 29, 2014 Why not ? How can we paint snow specular map on terrain ? How can we have a terrain cover of water (specular effect) caus it is rainning ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
DudeAwesome Posted March 29, 2014 Share Posted March 29, 2014 substances 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) Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted March 29, 2014 Author Share Posted March 29, 2014 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 Quote Stop toying and make games Link to comment Share on other sites More sharing options...
shadmar Posted March 30, 2014 Share Posted March 30, 2014 In terrain.shader look for : fragData1 = vec4(normal * 0.5 + 0.5, 0.0); //0.0 is specular power Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
YouGroove Posted March 30, 2014 Author Share Posted March 30, 2014 Ahhaha so simple Would it be possible with a map ? I mean like shaders having some slots for custom maps ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Recommended Posts
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.