You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried a few different combinations but none worked. One workaround I found was to use a .json material with a wrapping sampler block, which worked well in v2.3. But in v3, that json material didn't work on my linux laptop, and worked only on macbooks.
The text was updated successfully, but these errors were encountered:
tex_address_mode is not supported in the basic material script syntax. You need to either use JSON materials or change it via C++.
One workaround I found was to use a .json material with a wrapping sampler block, which worked well in v2.3. But in v3, that json material didn't work on my linux laptop, and worked only on macbooks.
The reason it didn't work on Linux is likely that RapidJSON dependency was not found, and thus OgreNext was built without JSON support.
It looks like it didn't pick up the ogre-next-deps dependencies correctly as it was trying to build without JSON support. While this is supported, it's not recommended as many features will be left out.
Double check you're following the steps correctly so that RapidJSON is picked up from ogre-next-deps; or simply use the Quick Build Scripts.
If done correctly your CMake config options should look like this:
How to reproduce: edit shadowmapFromCodeGameState.cpp and set material to the plane mesh item.
Also, add a pbs material.
hlms red pbs
{
diffuse 1 1 1
specular 0 0 0
emissive 0.00000 0.00000 0.00000
tex_address_mode wrap
diffuse_map checker.png
}
I tried a few different combinations but none worked. One workaround I found was to use a .json material with a wrapping sampler block, which worked well in v2.3. But in v3, that json material didn't work on my linux laptop, and worked only on macbooks.
The text was updated successfully, but these errors were encountered: