当前位置:网站首页>OpenGL job coordinate system
OpenGL job coordinate system
2022-07-07 22:08:00 【qq_ fifty-seven million two hundred and fifty-one thousand thre】
One 、 Using the model matrix only makes 3 Multiple box rotation ( And the first 1 A box ), And keep the rest of the box still
#version 330 core
layout (location = 0) in vec3 aPos;layout (location = 2) in vec2 aTexCoord;
out vec2 TexCoord;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
void main()
{
gl_Position = projection*view*model*vec4(aPos, 1.0);
TexCoord = aTexCoord;
}
#version 330 core
out vec4 FragColor;
in vec2 TexCoord;uniform sampler2D texture1;
uniform sampler2D texture2;uniform float Nongdu;
void main()
{
FragColor = mix(texture(texture1, TexCoord), texture(texture2, vec2(1-TexCoord.x, TexCoord.y)), Nongdu);
}
#include<iostream>
#define GLEW_STATIC
#include <GL/glew.h>
边栏推荐
- How to quickly check whether the opening area ratio of steel mesh conforms to ipc7525
- Dry goods sharing | devaxpress v22.1 original help document download collection
- Validutil, "Rethinking the setting of semi supervised learning on graphs"
- Reinforcement learning - learning notes 8 | Q-learning
- Codemail auto collation code of visual studio plug-in
- The strongest installation of the twin tower model, Google is playing "antique" again?
- ByteDance Android interview, summary of knowledge points + analysis of interview questions
- Two kinds of updates lost and Solutions
- SAR image quality evaluation
- 强化学习-学习笔记9 | Multi-Step-TD-Target
猜你喜欢

The latest Android interview collection, Android video extraction audio
![Jerry's initiation of ear pairing, reconnection, and opening of discoverable and connectable cyclic functions [chapter]](/img/14/1c8a70102c106f4631853ed73c4d82.png)
Jerry's initiation of ear pairing, reconnection, and opening of discoverable and connectable cyclic functions [chapter]

Crawler (17) - Interview (2) | crawler interview question bank

双塔模型的最强出装,谷歌又开始玩起“老古董”了?
Talk about relational database and serverless

Customer case | China law network, through observing the cloud, greatly shortens the time of fault location

PKPM 2020软件安装包下载及安装教程

The little money made by the program ape is a P!

Reptile combat (VII): pictures of the king of reptiles' heroes

强化学习-学习笔记9 | Multi-Step-TD-Target
随机推荐
#DAYU200体验官#MPPT光伏发电项目 DAYU200、Hi3861、华为云IotDA
How to quickly check whether the opening area ratio of steel mesh conforms to ipc7525
Google SEO external chain backlinks research tool recommendation
[open source] Net ORM accessing Firebird database
Reptile combat (VII): pictures of the king of reptiles' heroes
MIT6.S081-Lab9 FS [2021Fall]
[open source] Net ORM accessing Firebird database
How polardb-x does distributed database hotspot analysis
Use camunda to do workflow design and reject operations
PKPM 2020软件安装包下载及安装教程
Dry goods sharing | devaxpress v22.1 original help document download collection
Use br to recover backup data on azure blob storage
The maximum number of meetings you can attend [greedy + priority queue]
Use json Stringify() to realize deep copy, be careful, there may be a huge hole
[colmap] sparse reconstruction is converted to mvsnet format input
Which futures company is the safest to open a futures account?
An overview of the latest research progress of "efficient deep segmentation of labels" at Shanghai Jiaotong University, which comprehensively expounds the deep segmentation methods of unsupervised, ro
Tupu digital twin coal mining system to create "hard power" of coal mining
【Azure微服务 Service Fabric 】因证书过期导致Service Fabric集群挂掉(升级无法完成,节点不可用)
Matplotlib drawing interface settings