public:t-vien-12-1:lab_7_materials
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:t-vien-12-1:lab_7_materials [2012/02/22 11:31] – hannes | public:t-vien-12-1:lab_7_materials [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 44: | Line 44: | ||
self.p.start(self.parent) | self.p.start(self.parent) | ||
self.p.setPos(1.6, | self.p.setPos(1.6, | ||
- | self.p.setHpr(0, | + | self.p.setHpr(0, |
- ** Creating a bloom effect **\\ The following code may not work on all graphics cards, since they have to support programmable shaders. You should get warning messages on the console about this as well as not seeing the actual effect. Try adding the following code to the **create_bloom** function:< | - ** Creating a bloom effect **\\ The following code may not work on all graphics cards, since they have to support programmable shaders. You should get warning messages on the console about this as well as not seeing the actual effect. Try adding the following code to the **create_bloom** function:< | ||
render.setShaderAuto() | render.setShaderAuto() | ||
self.filters = CommonFilters(base.win, | self.filters = CommonFilters(base.win, | ||
- | self.filters.setBloom(size=" | + | self.filters.setBloom(size=" |
/var/www/cadia.ru.is/wiki/data/attic/public/t-vien-12-1/lab_7_materials.1329910282.txt.gz · Last modified: 2024/04/29 13:33 (external edit)