Search found 26 matches

Re: computeshader & rendertexture in cryengine 5

Okey, here is an example. //// These are stucts for gpu in CryCommon IRenderNode.h ////////////////// struct TerrainDataIn { Matrix44 heightfield; float findex_x; float findex_y; }; struct TerrainDataOut { Vec3 position; Vec3 tangent; Vec3 bitangent; }; //////////////////////////////////////////////...

Re: [5.4] Is there any scenario where you would use inheritance with Entity Components?

Never use inheritance, if you use it then it means there might be something wrong how you think and you are doing oop. By doing that you are completely ingoring the advantages of it and making a mixed soup. Which will make your head ache while the project grows into one huge megalithic unchangable m...

Re: computeshader & rendertexture in cryengine 5

You can use compute shaders and rendertargets in cryengine ofcourse with lightning speeds since you have access to source code itself. The render stages are packed nicely in cryrender. Add a stage to standardgraphics pipeline, and implement a compute shader in it. Also add a manager with an interfac...

Go to advanced search