-
Notifications
You must be signed in to change notification settings - Fork 6
Material Guide
In this guide I will show you how to set up the renderer in the Editor.
This plugin works by creating a new DX11 texture and assigning it to an existing material in CryEngine. You will need a placeholder texture for any surface you want to have as a web view, as well as a placeholder material.
Under the sample folder you will find a texture file (.dds) and a material file (.mtl). This is a sample texture and material. The material will be found by the plugin, and the texture will be replaced in the material with the web view.
Although it is possible to replace any texture / material, it is wise to have a placeholder with the appropriate texture size, as things will look nicer if the engine expects the texture size the plugin gives it (specifiable when you create the web view).
In the current version (226bea42c) the flowgraph nodes have not yet been implemented. FlowGraph nodes or the C++ interface (also not implemented yet) will be used to create web views. Right now the plugin just searches for an object named TestScreen with a material named Materials/ReplacedSquareUI and replaces it with crydev.net. This wiki will be updated when the new functionality is added.