blackchicken Posted June 24, 2014 Share Posted June 24, 2014 Hello, I simulating some boat on ocean, all works good but when I use displacement from Ocean Waves on my simulated mesh, how I could use same displace texture for my foam simulation to match same dosplace position? My displacement is relatively large so I need displace foam same way. Displacement is along normals in shader so I need normals on my foam to be correct. Uvs is the same. Attrib trasfer normals from mesh to foam is overkill. I thing there must be some workflow but in documentation or web I did not find anything. Any help? Thanks a lot. Quote Link to comment Share on other sites More sharing options...
blackchicken Posted July 2, 2014 Author Share Posted July 2, 2014 Ok so i create custom VOP/SOP and deforming my points from same texture as my ocean is. I found that if I check in render, render as points, points dont displace, it is clearly visible when I have grid, which is defomed by ocean texture, in render ic nice deformed, if I turn on render as points, its flat grid. so is there some sollution how to displace foam points by displacement in shader? Thank a lot. Quote Link to comment Share on other sites More sharing options...
pezetko Posted July 2, 2014 Share Posted July 2, 2014 You can use Point Replicate Procedural shader and put your displacement VOP code into CVEX (Shader Builder). Your points also need UVs that match source geometry for ocean displacement to correctly match displacement from texture. Quote Link to comment Share on other sites More sharing options...
blackchicken Posted July 4, 2014 Author Share Posted July 4, 2014 hmm thanks a lot Ill look at it. 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.