Comments (10)
Hey guys,
As @saschaelble noted, the Ocean material makes use of shared texture samplers (a DirectX 11 only feature) due to the number of samplers that get used up by dynamic lighting (among others).
OpenGL support is something I wanted to add before I had to take time off., It will require some compromises in order to get it working due to the limited samplers (8) for OpenGL. It may end up impacting the end result, but there may be some optimizations possible, so I will see what I can do.
I'm working on fixing up errors in the project and some de-bloating at the moment, but I promise this will be the next thing I work on after pushing an update in a couple days.
Thanks!
from oceanproject.
Is this SM5, OpenGL 3 or 4?
https://answers.unrealengine.com/questions/352034/bug-report-sm5-on-linux-is-limited-to-16-texture-s.html
While generally there is an error, you never know. (Check your warnings)
Also try changing the feature levels (switch between SM 4/5 OpenGL 3/4 ect) and report back results.
from oceanproject.
Visit me on slack:
https://join.slack.com/t/oceanandwea...DMyZjIwMzZiNmE
After work, 5pm central time
from oceanproject.
I tried many combinations, the log does not give me any warnings and doesn't tell me it did anything to the water, I deleted a sampler (from 17 to 16) since it gave me an error at 17, but not at 16, but even at 16 it makes the water gray. I also seem to be unable to visit you on slack, it gives me an error.
from oceanproject.
Hello :)
I've had similar issues when attempting to use this plugin on macOS... Sadly, I didn't find a solution yet.
My initial guess is that some of the custom nodes has code that could be potentially problematic when converted to OpenGL Shader Model, thought I couldn't pinpoint either what's wrong.
Maybe @dotcamdev has more info about it, but I don't know if he is able to check this right now.
Your investigation of this issue is very much welcome!
Also, if you guys end up going to slack, I'd really appreciate if you could post your experiences and results here! It may help other people to find and solve the issue and maybe encourage more people to join :)
I'm sorry that I can't do much to investigate this right now, mostly due to time constraints on my side... Hopefully I'll be able to in near future! 😄
from oceanproject.
from oceanproject.
It appears that while 16 texture samples are the limit for opengl, lighting uses some depending if static or dynamic is used. Look into reducing the samplers
Apart from that, I don't see gray water, what I see a bunch of green. You need to provide a picture without the green fog.
Also another thing I am noticing, is that it appears that the fog or whatever that is, is thicker on linux than windows, but until we can get a clearer picture I can't help.
from oceanproject.
Make an OpenGL Compatible Version
from oceanproject.
My 1st thought on this is to check all the texture samplers if all of them are marked as Shared:Clamped, but might also be necessary to check the samplers on all the library functions being in use, so if they are not marked as shared it will require to create a separate copy of that function renamed with the correct option on samplers. I remember doing this on the Water Planes assets in order to have the translucency water to work on OpenGL and Vulkan, which worked.
from oceanproject.
Just a fact update, the limit is due to MacOS OpenGL, which apparently has a 16 shader limit, but somehow is actually only 12. I have no idea if this was fixed or not, as OpenGL4 is supposed to support 32 shaders min.
from oceanproject.
Related Issues (20)
- Cooking and packaging issues for Windows X64 HOT 4
- The ocean project in UE 4.23 is causing constant crash . HOT 2
- Editing Ocean Amplitude doesn't work after packaging HOT 6
- Old Skydome Lightning Doesn't Show in Play and Game, but does in Editor HOT 1
- project has compile issue in 4.23.1 HOT 2
- Unreal 4.24.1 - black water HOT 2
- Right-left eye rendered differently in VR HOT 1
- Packaging failed for Windows x64 on UE4.24 HOT 1
- ocean disappeared after packaging HOT 1
- Black water shading in 24.3 HOT 1
- JOIN DISCORD AND READ THE #FAQ BEFORE OPENING TICKET
- Executable doesn't launch HOT 1
- Error when packaging: System.ArgumentException: An item with the same key has already been added. HOT 3
- Packaging for HTML5 not working HOT 2
- When compiling with UE4.25 UActorComponent::bIsActive is inaccessible. HOT 2
- Help!!!Ocean rendering problem
- Problem HOT 2
- Partial black ocean surface when viewed from underwater HOT 1
- Some strange wavebreak on ocean surface HOT 2
- ERROR: Missing precompiled manifest for 'OceanPlugin' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oceanproject.