1. Neos VR
  2. News
  3. 2020.6.12.785 - New shaders (PBS Distance Lerp, UV Rect, Mask), tweaks, bugfixes

2020.6.12.785 - New shaders (PBS Distance Lerp, UV Rect, Mask), tweaks, bugfixes

A shiny new PBS Displace Lerp shader! This one allows creating variety of visual effects based on distance/proximity to points in the world - displacing the geometry and increasing emission. Check #devlog for some quick videos.

Also added UV Rect shader. This one is simpler, but also has its uses for some neat effects, like borders and so on (will be used in the new RadiantUI dash). The Unlit material also now has a mask texture support, allowing alpha blend and independent alpha clip (this is also added for the new Radiant UI dash).

More of the Radiant UI is implemented too, you can see more of the upcoming dash in there, but it's still heavy work in progress and not representative of the final one yet! A bunch of other additions, tweaks and bugfixes as well. I go sleep now.

[h2]New Features:[/h2]
- Added PBS Distance Lerp material, which allows creating variety of proximity-based visual effects (requested by @Nexulan)
-- It allows driving displacement and emission based on proximity of a point
-- Supports up to 16 independent points, with each point providing its own tint color
-- Emission and Displacement distance ranges are individually configurable
-- Distance is measured from each vertex, but can be rounded to a grid size, allowing a group of vertices to move together
-- Displacement direction can be overriden (by default uses normal)
-- The distance measuring can be done both in world-space and in local-space
- Added UV Rect material, which allows visualizing a rectangle based on the model UV coordinates (useful for some effects and debugging)
- Added Mask Texture support to Unlit material - a separate texture slot which can be used to multiply the alpha or provide alpha clipping separate from the main texture
- Added "Recompress Textures" to Asset Optimization Wizard, which will recompress any textures referenced in the hierarchy that are not JPG, PNG, WebP or EXR (requested by @Enverex)
- Added MultiValueTextFormatDriver component which allows driving a string field with a format string and a list of arguments (requested by @Zyzyl)
- Added "Forward Only" property to Camera, which allows forcing it to render using the Forward pass. This can be used to optimize certain scenarios (e.g. the camera only rendering UI)
- Added "NullText" and "NullContent" fields to TextRenderer and Text components respectively, allowing to override which text is displayed when the main text is null

[h2]Work in progress features:[/h2]
- Implemented more of Radiant UI dash and screens, particularly including button rendering

[h2]Tweaks:[/h2]
- A loading indicator with "Waiting... Host is starting session" will now appear immediately when trying to join a session through orb that someone is currently starting to host (based on feedback by @H3BO3)
- Updated youtube-dl to 2020.06.06 (from 2020.05.08) (based on feedback from @DeliriousJax)
- Small performance optimization to sampling random Value (0.0 to 1.0)
- Removed FlatLitToon from material listing in advance of its deprecation, so it's not used for new objects
- Some cloud security improvements

[h2]Bugfixes:[/h2]
- Fixed being able to click your own nametag
- Fixed "null" value being rendered incorrectly in the inspectors and sometimes not getting properly cleared up when starting to edit the field (reported by @Shifty | Quality Control Lead, @ProbablePrime, @H3BO3 and others)

https://www.youtube.com/watch?v=ZuRrS-QBVD8

https://www.youtube.com/watch?v=TeW7Zl_5m7Q