Quantcast
Channel: Recent Discussions — Unknown Worlds Forums
Viewing all articles
Browse latest Browse all 42799

Question about .surface_shader files

$
0
0
Is there any documentation on these? I'd like to find a way to get the eye position or view vector or something so I can try to make a parallax occlusion shader, but I don't know what data is passed to the shader... I saw Insane's post a while back, but it didn't answer my question. Despite looking a heck of a lot like hlsl code... it seems the only function of these files is to prepare the maps (ie transforming the normal maps rgb channels from a range of 0.0-1.0 to a range of -1.0 to 1.0) and pass them onto the REAL shader... wherever that is... I figure that stuff is buried deep in the engine and we can't get to it.

Viewing all articles
Browse latest Browse all 42799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>