Skip to content

lianglei1/Android-PBR

Repository files navigation

PBR 材质渲染器

一个简单的PBR/IBL渲染器 纯 C++/OpenGL ES3实现

image image image 参考: https://github.com/FrMarchand/pbr-material-viewer

https://github.com/JoshuaSenouf/gl-engine

https://github.com/ragnraok/AndroidPBR

细节

  • 通过HDR贴图生成cubmap贴图实现基于环境的光照,图片资源来自 (hdrlabs免费资源网站).

  • 手动调整材质贴图缩放比列和displacement 贴图高度大小。

  • 触摸旋转相机360°观察材质

开始项目

项目需要kotlin、C++能力和opengl高级编程知识。

image

配置

  • Android Studio 2020.3.1.RC1
  • NDK 21.2.6472646
  • OpenGL 3.0 ES
  • CMake 3.4+
 git clone https://github.com/lianglei1/Android-PBR.git

依赖库

  • glm - C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications.
  • stb-image - Image loading/decoding from file/memory

About

Android平台 PBR渲染器 OPENGL ES3 & C++实现

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published