当前位置: 首页 > 软件库 > Web应用开发 > Web框架 >

3d-game-shaders-for-beginners

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 Web框架
软件类型 开源软件
地区 不详
投 递 者 杜诚
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

3D Game Shaders For Beginners

3D Game Shaders For Beginners

Interested in addingtextures,lighting,shadows,normal maps,glowing objects,ambient occlusion,reflections,refractions,and more to your 3D game?Great!Below is a collection of shading techniques that will take your game visuals to new heights.I've explained each technique in such a way that you can take what you learn here and apply/port it towhatever stack you use—be it Godot, Unity, Unreal, or something else.For the glue in between the shaders,I've chosen the fabulous Panda3D game engine and the OpenGL Shading Language (GLSL).So if that is your stack, then you'll also get the benefit of learning how to use theseshading techniques with Panda3D and OpenGL specifically.

Table Of Contents

License

The included license applies only to the software portion of 3D Game Shaders For Beginners—specifically the .cxx, .vert, and .frag source code files.No other portion of 3D Game Shaders For Beginners has been licensed for use.

Attributions

Copyright

(C) 2019 David Lettier
lettier.com

  • 运行演示 在您构建了示例代码之后,现在可以运行可执行文件或演示了。 ./3d-game-shaders-for-beginners 下面是你在Linux或苹果机上运行它的方法。 3d-game-shaders-for-beginners.exe 下面是你在视窗上运行它的方法。 演示控件 该演示带有键盘和鼠标控制,可以移动相机,打开和关闭不同的效果,调整雾,以及查看各种不同的帧缓冲纹理。 老鼠 按住

  • 构建演示 在您尝试演示程序之前,您必须先构建示例代码。 依赖性 在编译示例代码之前,您需要安装Panda3D为了你的平台。Panda3D可用于Linux、苹果机和视窗系统。 Linux 开始于安装这Panda3D SDK为了你的发行。 确保找到Panda3D头和库的位置。标题和库最有可能在/usr/include/panda3d/和/usr/lib/panda3d/分别是。 接下来克隆这个存储库,

 相关资料
  •   3D ToolKit for cocos2dx 是一个简单的cocos2d-x 3D扩展,可以方便地在cocos2dx环境中创建3D图形。 基于cocos2d-x 2.2开发。 已实现功能: 1,向量和矩阵运算。 2,扩展的3D相机。(支持 透视投影 和 正交投影) 3,3D Sprite。(支持空间变换,更换mesh,更换shader) 4,扩展的shader program和uniform

  • colormap-shaders A collection of shaders to draw color map like this: . usage Each *.frag shader sources provides a colormap function, which takes an float argument x (x should be: 0.0 <= x <= 1.0). T

  • webGL-Shaders是一款分形渲染器,采用webGL标准。 效果查看地址:https://jonathan-potter.github.io/webgl-shaders/

  • 从这一节开始,我们要加入的所有效果都会使用 Shaders 来实现,Shaders 是进行三维图形学编程的先进方法,从某种意义上来说 Shader 的出现是图形学中的一种”退步”,因为在这之前所有的功能都直接由固定管线提供,而开发人员只需要为其指定参数(如光照属性、旋转角度等),但是由于 Shader 的出现这些功能现在都需要开发者自己通过 Shader 实现。尽管如此,这种可编程性能够提供给开发

  • MaNGOS是WoW的模拟服务器端工程,架设在sourceforge上,使用C++,开放源码,代码写的很清楚,架构清晰,质量很高.我看重的,是其对3D游戏服务端编程的通用流程和问题的处理手法和经验.研究消息包结构,一般就能推断WoW采取哪种逻辑方案来解决一些棘手的通用问题,而服务端编程质量在很大程度上取决于程序员的经验. 由于采用大量优雅的模板技法,MaNGOS的编译速度很成问题,调试变得有点困难.

  • Android坦克对战游戏,能够实现本地和蓝牙的坦克移动/对射/切换子弹等功能,蓝牙模式基于帧同步方法实现,网络模式只实现了基本的用户登录/用户注册功能,有兴趣的同学可以进一步完善该代码。