载入中...
搜索中...
未找到
PbrMaterial.cpp 文件参考
#include "procgen/texture/PbrMaterial.h"
#include "procgen/texture/ColorRamp.h"
#include "procgen/texture/NoiseField.h"
#include "image/ImageData.h"
#include <algorithm>
#include <cmath>

浏览源代码.

命名空间

namespace  eve
 
namespace  eve::procgen
 

函数

image::ImageDataeve::procgen::grayscaleImage (const std::vector< float > &values, int w, int h)
 Build a grayscale RGBA8 image from per-pixel values in [0,1]. Caller owns.
 
PbrTextureSeteve::procgen::generatePbrSet (const TextureRecipeDef &def, const Params &params, std::string &error)
 Build a full PBR set from a texture definition. Caller owns the result.