article thumbnail

Set default material for Mesh

Cocos

After converting the Maya exported model to.c3t I can see that some Mesh are using default material. However, these textures do not exist. I am using cocos2d-x v3.17.x How can I set them to use the cc.SHADER_POSITION_COLOR and set the color as I want?

Mesh 40
article thumbnail

Set default material for Mesh

Cocos

After converting the Maya exported model to.c3t I can see that some Mesh are using default material. However, these textures do not exist. I am using cocos2d-x v3.17.x How can I set them to use the cc.SHADER_POSITION_COLOR and set the color as I want?

Mesh 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Realtime Rendering With OpenGL – A Students Perspective (Week 3)

Game Developer

Week 3 was focused on getting textures into the render engine, making a camera so the user can move around the scene, and the creation of a new mesh class that takes advantage of the VBO and EBO classes.

Render 170
article thumbnail

Realistic Lighting in Justice with Mesh Shading

Nvidia

NetEase Thunder Fire Games Uses Mesh Shading To Create Beautiful Game Environments for Justice In December, we interviewed Haiyong Qian, NetEase Game Engine. Recently, NetEase introduced Mesh Shader support to Justice. Q: What are you trying to achieve by adding mesh shading to Justice? Q: How do Mesh Shaders solve this?

Mesh 52
article thumbnail

Use 3d model as base object of particle system?

Cocos

Hi, I’m trying to use a simple 3d model (with a cube-mesh & material of effect “bultin-standard”) as basic object to be emitted in particleSystem My approach was to set “Render>RenderMode” to “Mesh” and fill the “Mesh” & “CPU Material” as I wanted The problem is the material won’t let me replace it if new material doesn’t use effect as (..)

Mesh 52
article thumbnail

Practical Use of Render Textures

The Knights of Unity

And even before an era of SRPs (Scriptable Render Pipelines), there was a good amount of solid features like today’s topic: Render textures. In this post I’m going to explain to you how to use render textures in your game. For shaders, I used Amplify Shader Editor to add some visual effects on top of the render texture.

Texture 52
article thumbnail

Practical Tips for Optimizing Ray Tracing

Nvidia

This starts from mesh instance selection and their data. This starts from mesh instance selection and their data processing towards optimized tracing and shading of every hit that you encounter. Parallel mesh processing for instance data generation. Better GPU utilization using batched vertex data processing for dynamic meshes.