tipforeveryone Posted June 16, 2018 Share Posted June 16, 2018 Anyone has an example of this shader usage ? I mean a collection of All texture maps which can combine together on an object. which texture slot should I put those textures into ? By the way, Is there any tutorial which shows me how to create parallax / roughness for leadwerks Quote Link to comment Share on other sites More sharing options...
randomdude Posted July 2, 2018 Share Posted July 2, 2018 Hey man, roughness and metallic is used in PBR, LW does not support it therefore you cant use the effect. roughness means the factor by which the light is sucked up by the surface, while metallic is the reflection value. As far as I know parallax is used as a sprite for example to make distance buildings etc. that moves itself independent from the camera like a gif. or something. I think you maybe want to use the parallax as a sort of an reflection image instead of the light, like an ambient color sheme, so its reflecting the color information instead of the light. Anyway you have to hardcode it into the sourcecode or write a shader that does that. The pre-PBR way was using an ambient occlusion texture which does the trick of the light reflection which is supported. I case you dont know, you can generate that with software from your diff. textures. I use the "insane bump" plugin for GIMP but there is better paid software. but you could give it a try for testing purposes. Greetings Quote 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.