unitygi | simple gi library for unity | Game Engine library
kandi X-RAY | unitygi Summary
kandi X-RAY | unitygi Summary
simple gi library for unity
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of unitygi
unitygi Key Features
unitygi Examples and Code Snippets
Community Discussions
Trending Discussions on unitygi
QUESTION
I am working on a game and I bought a water shader, I am just to time strapped to learn it right now. I am making a game with water and ships. I need the ships to respond to the water shader vertex normal at the ray cast hit position. Frankly I just don't know what I am doing and I would appreciate any help. Shader
...ANSWER
Answered 2020-Oct-20 at 07:24The asset you are using is just a shader. Changes in the vertex position inside a shader are just on the GPU and can not be accessed by the CPU. The asset also states, it does not support Buoyancy, so it really just is a visual thing.
To be able to access the wave distortion you either need to have a compute shader or some other preprocessing step that calculates your changes for you, which are used afterwards inside you wave shader.
More information on the same problem
Might be worth taking a look at another solution (maybe the boat attack repo would be a good fit), but I don't know your target device and scope of the project (I guess you're on builtin renderer right now).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install unitygi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page